Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by 9 years ago

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

Log in to vote
0
Answered by 9 years ago

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.

Ad

Answer this question