View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

# Jittery Movement and Uncontrollable Rotating

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

20 replies to this topic

### #21vipar  Members

Posted 28 July 2013 - 02:13 AM

It won't, but it's just easier working in the correct units for the functions, which in the case of angles is radians, since that makes the maths easier. You aren't gonna measure the speed of your car in furlongs per fortnight are you? As soon as you start doing calculus you should forget about degrees entirely. The only other sensible option is wangs, wide angles, which are like wchars but have 65536 wangs in a full circle instead of 2pi radians, since they play nice with integer overflow on computers ;)

[note: I just made up wangs but I like it as a terminology ;)]

And if you are asked to draw a right angled triangle with an angle of 45 degrees, you measure the angle anticlockwise from the x axis don't you? That's how all the trig functions are defined. I have no idea why computer scientists like measuring their angles clockwise from due North myself, maybe they want to be sailors?

Given that a Vectors Rotation is calculated in Degrees (which is how they are defined in SFML [0, 360]) I have to calculate in degrees

It's not a choice.

Edited by vipar, 28 July 2013 - 02:14 AM.

CEO of Dynamic Realities

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.