Motor
An object used to make movable JointInstance between two Parts.
Sommario
Proprietà
- non replicatolettura parallela
Displays the current rotation of the motor in radians.
- lettura parallela
The desired angle to turn the motor to in radians.
- lettura parallela
The maximum velocity the motor can use to reach Motor.DesiredAngle measured in radians per physics frame (1/60th of a second).
Determines if the joint is currently active in the world.
Determines how the offset point is attached to JointInstance.Part0.
Is subtracted from the JointInstance.C0 property to create an offset point for JointInstance.Part1.
Sets whether the joint is active or not.
The first BasePart that the joint connects.
The second BasePart that the joint connects.
Metodi
Sets Motor.DesiredAngle of the motor.
Proprietà
CurrentAngle
Displays the current rotation of the motor in radians.
DesiredAngle
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
The maximum velocity the motor can use to reach Motor.DesiredAngle measured in radians per physics frame (1/60th of a second).