math - What kind of rotation unit is used by this game? -


I'm looking at the rotation value of a character in a game, and its value confuses me.

I am thinking, what kind of unit is used here? It does not look like radians or degrees.

When the character faces ... Answer, rotation = 0.014887573
Northeast, rotation = -0.28192267
east, rotation = -0.7139419
southeast, rotation = -0.9176189
south , Rotation = -0.99983466
west, rotation = 0.6936041
south-west, rotation = 0.90622354
north-west, rotation = 0.36119097

Exponential growth while facing more southern rotation Some look appears.

Update : There appears to be any other variable that appears to solve the actual rotation in any way when facing the east or north side of the above value If multiplied by the west when facing west, then 0.5 will be facing and the former will have to face -0.5.

However, this multiplier becomes 0 when the south has to face and 1 when the answer has to face, so when you have multiple

Comments