PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

VelocityMotor

Show deprecated

VelocityMotor

Show deprecated

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 `MotorFeature` needs to be parented inside of a `BasePart`
  • A `Hole` needs to be parented inside of another `BasePart`
    • The VelocityMotor's `VelocityMotor/Hole` property should be assigned to the hole you parented inside of the other part.
  • Properties

    float

    CurrentAngle

    Displays the angle that the motor is at in radians.

    float

    DesiredAngle

    The desired angle to be reached. The motor will attempt to reach this angle.

    Hole

    Hole

    The Hole linked to this VelocityMotor.

    float

    MaxVelocity

    The maximum amount of velocity able to be reached.

    Functions

    Events