Sign in to follow this  
Matriax

[SOLVED] How get Freecamera Rotation values with 0-360º limit ?

Recommended Posts

I'm getting the freecamera values but they are radians and if i continue rotate they increase more than 6.28 or less than -6.28 .

 

So whay i do for conversion actually is:

(camera.rotation.y*360)/6.28

So i get the camera values as i want. But i can figure how fix the infinite rotation value thing, maybe there is some function or something i missing to avoid that?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.