yuccai Posted April 2, 2016 Share Posted April 2, 2016 Hi, I'm trying to figure out how to rotate a FreeCamera on Z axis without using a handler. In this example http://www.babylonjs-playground.com/#1CEZ5W#0, I only can rotate the camera using the handler. You can comment/uncomment the rotation lines in the renderLoop in order to see the difference. Do you understand what I want to show ? Quote Link to comment Share on other sites More sharing options...
OMAR Posted April 2, 2016 Share Posted April 2, 2016 Hi @yuccai! This is how you can do it: http://www.babylonjs-playground.com/#1CEZ5W#1 Btw, I recommend you to check TargetCamera class, since this is where cameraRotation property exists. Have a nice day! 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.