#how do i translate CFrame rotation to orientation

13 messages · Page 1 of 1 (latest)

drifting quest
#

i'm pretty sure that the rotation is in radians

#

so what you can do is math.deg(the radian)

#

might be wrong

gentle canopy
#

Idk if this works but

local orientation = Vector3.new(CFrame:ToOrientation()) / (math.pi / 180)   --(corrected formula)
#

Idk if If there is a function that directly returns a vec3

gentle canopy
#

yea
I made a mistake
Its diveded by not times

#

Also, "that won't work at all" is a bit dramatic considering it's just switching a operator

#

also, thats wrong
we want to convert radiants to degrees
and thats the same formula i used Clownin

#

btw, ToOrientation returns it in radiants

#

(as far as i renember)

gentle canopy
#

i dont think that will slow your system down...