How to get motor 6d orientations?

I need the orientation of C1, as it is relative to its original orientation, but I have no idea how to get the angles, they display in the explorer but I don’t know how to get the degrees as they are shown.

1 Like

You can try using

print( Motor6D.C1.Rotation:ToOrientation() )

Turns out i had to recalculate the angle via the XVector of C0 and C1

math.deg(math.acos(math.clamp(rotate.C0.XVector:Dot(rotate.C1.XVector)/(rotate.C0.XVector.Magnitude * rotate.C1.XVector.Magnitude),-1,1)))

This Did the trick

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.