I have this orientation (60, -180, -180).
I know it is 270°
How do I turn that orientation into 270° with Lua?
I tried
math.deg(orientation.X)
but it gave me something like 3437.746.
I have this orientation (60, -180, -180).
I know it is 270°
How do I turn that orientation into 270° with Lua?
I tried
math.deg(orientation.X)
but it gave me something like 3437.746.
Think it’s best to use math.rad over math.deg for orientation.
That just gives me a bunch of 1s and 0s
Wait, so what are you trying to get? Where did you get that 270 from?
I want to get 270 degrees (x value) from the orientation (60, -180, -180)
Part Orientation is already in degrees,
I also have the same question how did you get the number 270?