Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I get the X Y and Z angles of a motor6D?

I have tried

lspos = ls.CurrentAngle
rspos = rs.CurrentAngle
print(lspos)
print(rspos)

when i use that it works but when i put lspos in a CFrame.Angles it wont work... the error message is Workspace.guig37.DarkMageChar:32: bad argument #3 to 'Angles' (number expected, got no value)

1 answer

Motor6D rotates only around one axis. You can mess with it's rotation using C0 and C1 properties, but it will spin around only one axis, when altering desired angle.

This discussion is preserved as it was. New answers, comments, and votes are closed.