I observe the meaning of the rotation of the symbol in the game, and its meaning confuses me.
I am wondering which unit is used here? It does not seem to be radian or degrees.
When a character collides ...
north, rotation = 0.014887573
northeast, rotation = -0.28192267
east, rotation = -0.7139419
southeast, rotation = -0.9176189
south, rotation = -0.99983466
west, rotation = 0.6936041
southwest, rotation = 0.90622354
northwest, rotation = 0.36119097
It appears that when exhibiting a more southerly rotation, some exponential increase appears. Does this scale make sense to everyone?
Refresh : another variable appears, which somehow seems to allow the actual rotation when multiplied by the above value when accessing east or north. If mulitplied, turning to the west, the value will be 0.5, and when turning to the east - -0.5.
However, this factor becomes equal to 0 when referring to the south and 1 when referring to the north, therefore, when it is multiple that at the first value both of them become equal to 0.
Which rotation representation uses multiple values in a three-dimensional scene?
source
share