-.-Benji-.- Posted March 6, 2018 Share Posted March 6, 2018 Hey guys, I got a question about the WebVrFreeCamera. How can I animate the rotation of a WebVrFreeCam? I would like to click on a button to direct the users gaze to something important. Hence the animation. THANK YOU FOR ANY TIP there is a code snippet: https://playground.babylonjs.com/#UXXVST Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 6, 2018 Share Posted March 6, 2018 Hi @-.-Benji-.-, it is not recommended to animate the user'S camera in a WebVR experience. this will cause headaches and disorientation. Having said that, you can control the camera's position and rotation just like you control any other camera. Using animations you can control the parameters you wish. You can read about animations here - http://doc.babylonjs.com/babylon101/animations#basic-animation An example - http://www.babylonjs-playground.com/#HH1U5#54 , taken from here - Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.