Hi,
How can i detect/know that one 360 degree rotation is completed using "set(autorotate.enabled,true);"?
OR
How can i get (view.hlookat) value using "set(autorotate.enabled,true);"?
Please provide me solution/suggestions for the same.
Thanks
Hi,
How can i detect/know that one 360 degree rotation is completed using "set(autorotate.enabled,true);"?
OR
How can i get (view.hlookat) value using "set(autorotate.enabled,true);"?
Please provide me solution/suggestions for the same.
Thanks
Well you know the current hlookat. Just use event onviewchange.
Hi sachagriffin,
Thanks for your reply, but as Kalus suggested "onviewchange" consume more memory and slow down the pano rotation speed.
Do you have any other suggestion to know first rotation is completed using "set(autorotate.enabled,true).
--
Thanks
pratiks
Hi praktis,
It's just a simple 'if' statement, so I don't think it will slow it down much. The best is to try it and test.
did you try lookto(360.....
?
Tuur
Hi Turr,
Yes, I have tried using lookto(360,...)
but at the same time i need change to next pano once one rotation is completed.
Actually I want two scenario,
1) Once one rotation is completed it should go to the next pano.
2) One one rotation is completed it should play the same pano again.
Could you please give me some sample code for both the scenario?
Thanks
Don’t have an account yet? Register yourself now and be a part of our community!