Motor

Show Deprecated

An object used to make movable JointInstance between two Parts.

Summary

Properties

Properties inherited from JointInstance

Properties

CurrentAngle

not replicated
read parallel

Displays the current rotation of the motor in radians.

DesiredAngle

read parallel

The desired angle to turn the motor to in radians. The motor will attempt to reach this angle (provided Motor.MaxVelocity is greater than 0.

MaxVelocity

read parallel

The maximum velocity the motor can use to reach Motor.DesiredAngle measured in radians per physics frame (1/60th of a second).

Methods

SetDesiredAngle

void

Sets Motor.DesiredAngle of the motor.

Parameters

value: number

Returns

void

Events