metatab1e
(metatab1e)
#1
Currently having an issue with getting CFrame from Motor6D C0 for lerp animation,
I need the CFrame.Angles equivalent from e.g.:
CFrame.new(_,_,_,-4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
(_, _, _ are blank values, numbers in the matrix are what im trying to convert to the Angles equivalent.)
Ideal output e.g.:
CFrame.new(_,_,_)*CFrame.Angles(_,_,_)
Thank you in advance.
1 Like
metatab1e
(metatab1e)
#2
Boosting post lol.
(limitttttttttttttttt)
1 Like
Bumping because this is something that I really need to know.
There is a Rotation
property on CFrames, e.g. motor6d.C0.Rotation
, which gives you a CFrame representing the CFrame without any positional component.
So you could do
local rotation = motor6d.C0.Rotation
CFrame.new(_, _, _) * rotation
1 Like