Forum

Camera turning upside down

04 October 2018 22:04
Hello,

I have a question about orienting the camera. I have 3 options for the user to switch between front, side, and top views, done using Move Camera nodes. Most of the time it works, but if I click "Top" and then "Front" once I load the application, the camera turns upside down. I suspect it's because internally Blend4Web calculates the shortest transition for the distance and rotation and this is the by-product.

Upon searching "camera orientation" a few posts came up (e.g., https://www.blend4web.com/en/forums/topic/1404/) but the answer doesn't seem to be related to what I'm experiencing.

Is there a way to make sure that the camera never turns upside down? Someone mentioned "correct_up" (https://www.blend4web.com/en/forums/topic/3809/) but since I want to work on the nodes only I prefer not to use code to do that.

Attached is the file I'm working on and you can give it a try to see the problem.

Thanks!

-victor
 
Please register or log in to leave a reply.