pox911 Grandmaster Cheater
Reputation: 28
Joined: 29 Nov 2008 Posts: 918
|
Posted: Thu Aug 16, 2012 11:56 pm Post subject: Types of rotation in 3d games? |
|
|
I've been poking around just cause 2 and realized something odd. The rotation values in this game act different than any other game ive played so far. Most games use the standard YPR where one 180 degree arc is negative and the other is posative but this game seems to treat each 360 degree turn like a sine wave where the whole turn will be posative but after i hit a full rotation its then negative.
Is this still standard YPR with a weird calculation on it, i know the other values change as well in relation, or is it a different method?
Long story short, i wanted to make a script that would add momentum to the direction of the car i am in but the rotation value is funky.
|
|