Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMadhed

Posted 28 October 2013 - 02:47 PM


rotation = Quaternion.AngleAxis(45, Vector3.right) 

 

This line always resets the rotation so you will of course get *almost* the same rotation every frame.

What Nypyren wrote is right: Increment a counter and use that instead of deltatime.


#1Madhed

Posted 28 October 2013 - 02:46 PM


rotation = Quaternion.AngleAxis(45, Vector3.right) * rotation

 

This line always resets the rotation so you will of course get *almost* the same rotation every frame.

What Nypyren wrote is right: Increment a counter and use that instead of deltatime.


PARTNERS