These are chat archives for highfidelity/hifi

14th
Dec 2017
Melissa Brown
@themelissabrown
Dec 14 2017 17:04
@ChristophHaag we have someone researching the audio options issue you're seeing, but it's slow going
Christoph Haag
@ChristophHaag
Dec 14 2017 17:19
cool. it can be reproduced?
jetbond
@jetbond
Dec 14 2017 17:43
Can I ask a simple dev question here or is it for bugs and stuff?
Melissa Brown
@themelissabrown
Dec 14 2017 17:43
ask away!
it's for dev questions but also an easy place to discuss bugs
and welcome @jetbond
jetbond
@jetbond
Dec 14 2017 17:44
I'm just trying to position two things in from, offset from one another by a set amount, and I'm trying to do it regardless of my rotation. I'm struggling to do this.
also thank you for the welcome. Hope I can contribute to the conversation sometimes
Melissa Brown
@themelissabrown
Dec 14 2017 17:45
Are you in desktop or HMD?
jetbond
@jetbond
Dec 14 2017 17:45
Desktop
Melissa Brown
@themelissabrown
Dec 14 2017 17:45
Pretty sure the edit tools in desktop are still fairly funky
we're in process of an overhaul so that you'll easily be able to do what you're attempting now, but its a big project and will take some time.
@Nex-Pro is really great with the current tools and should be able to give you some tips
jetbond
@jetbond
Dec 14 2017 17:46
Well I'm spawning them with javascript, making myself their parent. Spawning their position right in front of me, that works fine. Then I want to move one to the right and one to the left, all with code
Melissa Brown
@themelissabrown
Dec 14 2017 17:48
ah, got it. That is a different issue. I'll grab Milad, our support engineer, and let him know that you'd like to pick his brain
jetbond
@jetbond
Dec 14 2017 18:22
Another quick question, don't know if this is possible. Can I make things show up as local to a avatar and nobody else sees it?
MiladNazeri
@MiladNazeri
Dec 14 2017 18:30
Hey @jetbond, I think what you are looking for is an overlay
in the case
those are local only to a client
jetbond
@jetbond
Dec 14 2017 18:32
Can an overlay have entities?
MiladNazeri
@MiladNazeri
Dec 14 2017 18:33
So an overlay is basically an entity that is local to a client
It can be a model, text, web
jetbond
@jetbond
Dec 14 2017 18:35
Okay. Well in Overlays.addOverlay(QString,QVariant) what exactly are QString and QVariant? Not a lot of documentation about it
MiladNazeri
@MiladNazeri
Dec 14 2017 18:36
let me point you to some jsdoc that is going up that explains overlays a litter better
Qstring is just a string of the type, and Qvariant is just an object of the properties
take a look at the jsdoc comments that are on this page
there are good examples on there
jetbond
@jetbond
Dec 14 2017 18:50
Can I get the interaction of an entity and an overlay? I'm not sure it will work like I need it to
MiladNazeri
@MiladNazeri
Dec 14 2017 19:12
hmm, what exactly are you looking to do? that might help
jetbond
@jetbond
Dec 14 2017 19:18
I'm in hitting boxes in a certain order to create an effect. I was hoping that I could make it local to the individual instead of allowing others to see it
But it all relies on scripted behavior. Can overlays have scripts?
MiladNazeri
@MiladNazeri
Dec 14 2017 20:05
Overlays don't have attached scripts. An interface script is what creates overlays and you would have timers controlling any dynamic properties you are looking for.
jetbond
@jetbond
Dec 14 2017 21:24
Okay that doesnt work then how i have it set up now, HOWEVER I may have a great idea. Thank you!
One more thing I'd love help with. I'm trying to select an object with the laser while not in create mode. Is there any way to do that?
MiladNazeri
@MiladNazeri
Dec 14 2017 21:46
Well, I might be wrong here, but not exactly in the default mode that comes in interface. You would need a special script running in the interface client that that would handle that essentially.
jetbond
@jetbond
Dec 14 2017 22:34
Thanks for the help Milad!
MiladNazeri
@MiladNazeri
Dec 14 2017 22:35
No problem! Please feel free to ask any other questions if you have them!