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