PrismaticConstraint
A PrismaticConstraint creates a rigid joint between two Attachments, allowing them to slide along one axis but not rotate. This constrains the attachments so that their X axes are collinear but pointing in opposite directions. It also constrains the attachments so that their Y axes are parallel.
This constraint inherits many properties from SlidingBallConstraint including ActuatorType, LimitsEnabled, Velocity, and more. Please refer to SlidingBallConstraint for details on configuring a PrismaticConstraint.
When configuring this constraint, it may be helpful to study Roblox Units to understand how Roblox units compare to metric units.
Resumen
Propiedades
Propiedades heredados de SlidingBallConstraint- Leer paralelo
Sets whether the translation of the SlidingBallConstraint is actuated and, if so, what kind of actuation.
- Solo lecturaNo replicadoLeer paralelo
The current offset between the constraint's Attachments.
- Leer paralelo
Sets whether the SlidingBallConstraint will limit the range of translation.
- Leer paralelo
Specifies the "sharpness" of the linear servo motor in reaching the TargetPosition.
- Leer paralelo
The lower positional limit along the X axis of Attachment0 if LimitsEnabled is true.
- Leer paralelo
The constraint's maximum acceleration when ActuatorType is set to Motor as the constraint attempts to reach its desired Velocity.
- Leer paralelo
The constraint's maximum force when ActuatorType is set to Motor, as the constraint attempts to reach its desired Velocity.
- Leer paralelo
The elasticity of the constraint's Attachments when they reach the end of the range specified by UpperLimit and LowerLimit, assuming LimitsEnabled is set to true.
- Leer paralelo
The constraint's maximum force when ActuatorType is set to Servo, as the constraint attempts to reach its desired Speed.
The constraint's visualized size.
The constraint's desired speed when ActuatorType is set to Servo, as the constraint translates towards its TargetPosition. Measured in studs per second.
- Leer paralelo
The constraint's attempted target position when ActuatorType is set to Servo. Measured in studs.
- Leer paralelo
The upper positional limit along the X axis of Attachment0 if LimitsEnabled is true.
The constraint's attempted velocity when ActuatorType is set to Motor. Measured in studs per second.
Indicates if the constraint is currently active in the world.
- Leer paralelo
The Attachment that is connected to Constraint.Attachment1.
- Leer paralelo
The Attachment that is connected to Constraint.Attachment0.
- Leer paralelo
The color of the constraint.
Toggles whether or not the constraint is enabled.
Toggles the constraint's visibility.