Hi there, when I get the direction for my actor, it now returns different values than it used to.
0 degrees is still 0 degrees, and 90 degrees is still 90, but 270 comes back as -90, 180 as -180
My game requires comparison of directions for certain features. In the documentation, it says directions are a value 0-360. In the editor, i can't even set an actors properties to anything outside that range. And yet when I try to read the direction of the player actor, I get these weird results.
I wondered if this was introduced in a recent version because it used to work fine.
0 degrees is still 0 degrees, and 90 degrees is still 90, but 270 comes back as -90, 180 as -180
My game requires comparison of directions for certain features. In the documentation, it says directions are a value 0-360. In the editor, i can't even set an actors properties to anything outside that range. And yet when I try to read the direction of the player actor, I get these weird results.
I wondered if this was introduced in a recent version because it used to work fine.