Class · inherits JointInstance
VelocityMotor
A Motor-like JointInstance that forms its connection using a
MotorFeature and a Hole.
About VelocityMotor
The VelocityMotor is a special type of joint that works similarly to a
Motor, but it uses a MotorFeature and a Hole to create
the connection. In order for this object to work correctly:
- The VelocityMotor must be parented inside of a
MotorFeature - The
MotorFeatureneeds to be parented inside of aBasePart - A
Holeneeds to be parented inside of anotherBasePart - The VelocityMotor's
VelocityMotor.Holeproperty should be assigned to the hole you parented inside of the other part.
Properties 4
CurrentAngle
: floatDisplays the angle that the motor is at in radians.DesiredAngle
: floatThe desired angle to be reached. The motor will attempt to reach this angle.Hole
: HoleTheHolelinked to this VelocityMotor.MaxVelocity
: floatThe maximum amount of velocity able to be reached.
VelocityMotor 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.