Hello, I've used the tour-droplet and I get code that uses the linkedscene property.
In it's style in vtourskin.xml the command looktohotspot(); is run. I would like to change the behavior to only look in the X-direction of the hotspot and not the Y-direction since I have the arrows on the floor.
Is there a way to pass the "ath" parameter and then use lookto() instead of looktohotspot() ?
I would think that more people than me have their hotspots on the ground and this ability would make the tour-droplet more useful.
looktohotspot without Y transformation
-
-
Yes. Each hotspot has an ath and an ath. Get the ath variable from the hotspot and use 0 for atv.
I could paste a bunch of code, but this is really simple
Onclick="lookto(get(ath),0)"
Oopps I guess it was too simple not too post. -
That was indeed very easy, didn't know how it works with the passing of variables into these functions.
Thank you very much for showing me.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!