Rotation to angle expression?

Is there any a expression that turns Rot into angles?

if you extract rotation, it should output a rotation
rotations are in angles
do you want radians?

2 Likes

Its for a 3D game but i need it to when you click LMB it shoots out a projectile, and here is the code:

this doesn’t help me at all
what do you need to convert into an angle

velocity?


This, but its not normal rotation its just a number and global

???
you know rotation is a number right?
are you reading my messages at all
what do you need to convert into an angle
are you trying to turn something like 720 to 0 because 720 degrees = 0 degrees?

2 Likes

i gtg to bed but here’s the equation to set a number into a range of 0-360:
(((a%360)+360)%360)

2 Likes

is the camera direction global 0-360?

What do you think rotation is?

1 Like

lol ikr

rotation = angle

3 Likes