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

SlidingBallConstraint

Show deprecated

SlidingBallConstraint

Show deprecated

The base class for constraints that allow their attachments to slide along an axis.

Properties

ActuatorType

ActuatorType

Sets whether the translation of the PrismaticConstraint is actuated and, if so, what kind of actuation.

float

CurrentPosition

[ReadOnly] [NotReplicated]

The current offset between the SlidingBallConstraint’s Attachment.

bool

LimitsEnabled

Sets whether the SlidingBallConstraint will limit the range of translation.

float

LowerLimit

The lower position limit along the x-axis of Constraint/Attachment0 for a SlidingBallConstraint if SlidingBallConstraint/LimitsEnabled is true.

float

MotorMaxAcceleration

The maximum acceleration a SlidingBallConstraint with SlidingBallConstraint/ActuatorType set to Enum/ActuatorType can apply when trying to reach its desired SlidingBallConstraint/Velocity.

float

MotorMaxForce

The maximum force a SlidingBallConstraint with SlidingBallConstraint/ActuatorType set to Enum/ActuatorType can apply when trying to reach its desired SlidingBallConstraint/Velocity.

float

Restitution

How elastic Attachment connected by a SlidingBallConstraint will be when they reach the end of the range specified by SlidingBallConstraint/UpperLimit and SlidingBallConstraint/LowerLimit when SlidingBallConstraint/LimitsEnabled is set to true. Constrained between 0 and 1.

float

ServoMaxForce

The maximum force a SlidingBallConstraint with SlidingBallConstraint/ActuatorType set to Enum/ActuatorType can apply when trying to reach its desired SlidingBallConstraint/Speed.

float

Size

The visualized size of the SlidingBallConstraint.

float

Speed

The desired speed a SlidingBallConstraint with SlidingBallConstraint/ActuatorType set to Enum/ActuatorType will attempt to maintain while translating towards its SlidingBallConstraint/TargetPosition. Measured in studs/second.

float

TargetPosition

The target position a SlidingBallConstraint will attempt to translate to if its SlidingBallConstraint/ActuatorType is set to Enum/ActuatorType. Measured in studs.

float

UpperLimit

The upper position limit along the x-axis of Constraint/Attachment0 for a SlidingBallConstraint if SlidingBallConstraint/LimitsEnabled is true.

float

Velocity

The velocity a SlidingBallConstraint with SlidingBallConstraint/ActuatorType set to Enum/ActuatorType will attempt to achieve. Measured in studs/second.

Functions

Events