#Rotations

11 messages · Page 1 of 1 (latest)

simple anvil
#

So now im gonna attach some of the code ive tried, alongside the results

#

This was my last attempt, using the angle_dif() func.
last ss shows (-PI) - (-PI) returning PI/2 instead of 0

#

This was converting rad_to_deg, same issue, now -PI - 0 returns PI/2

#

This is with just regular math, In this particular case 0 - (-PI) is returning *** drumroll *** PI*1.5

simple anvil
#

currently looking for a way to round this values up to the nearest constant and work from there, since these rotations are always 90 degrees, the values will always be -PI, PI, -TAU, TAU or ZERO, so i hope this works

simple anvil
#

Radian subtraction behaving funky

simple anvil
#

angle_to() also doesnt work

#

it gives me a 180 degree angle between two vectors that are the exact same

simple anvil
#

This was my last attempt for the day

#

still not working