Class · inherits JointInstance
Motor
Makes a movable JointInstance between two parts.
About Motor
An object used to make movable JointInstance between two Parts.
Properties 3
CurrentAngle
: floatNotReplicatedDisplays the current rotation of the motor in radians.DesiredAngle
: floatThe desired angle to turn the motor to in radians.The desired angle to turn the motor to in radians. The motor will attempt to reach this angle (provided
Motor.MaxVelocityis greater than 0.MaxVelocity
: floatThe maximum velocity the motor can use to reachMotor.DesiredAnglemeasured in radians per physics frame (1/60th of a second).
Methods 1
SetDesiredAngle
(value: float) → ()SetsMotor.DesiredAngleof the motor.
Motor also has every member of JointInstance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.