Class
VelocityMotor
A Motor-like JointInstance that forms its connection using a
MotorFeature and a Hole.
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#
CurrentAnglefloat | Displays the angle that the motor is at in radians.ReadSafe |
DesiredAnglefloat | The desired angle to be reached. The motor will attempt to reach this angle.ReadSafe |
HoleHole | The Hole linked to this VelocityMotor.ReadSafe |
MaxVelocityfloat | The maximum amount of velocity able to be reached.ReadSafe |
CurrentAngle: float#
ReadSafe
Displays the angle that the motor is at in radians.
DesiredAngle: float#
ReadSafe
The desired angle to be reached. The motor will attempt to reach this angle.
Hole: Hole#
ReadSafe
The Hole linked to this VelocityMotor.
MaxVelocity: float#
ReadSafe
The maximum amount of velocity able to be reached.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild