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.
Sommario
Proprietà
Proprietà inherited from SlidingBallConstraint- Lettura Parallela
Sets whether the translation of the SlidingBallConstraint is actuated and, if so, what kind of actuation.
- Sola LetturaNon ReplicatoLettura Parallela
The current offset between the constraint's Attachments.
- Lettura Parallela
Sets whether the SlidingBallConstraint will limit the range of translation.
- Lettura Parallela
Specifies the "sharpness" of the linear servo motor in reaching the TargetPosition.
- Lettura Parallela
The lower positional limit along the X axis of Attachment0 if LimitsEnabled is true.
- Lettura Parallela
The constraint's maximum acceleration when ActuatorType is set to Motor as the constraint attempts to reach its desired Velocity.
- Lettura Parallela
The constraint's maximum force when ActuatorType is set to Motor, as the constraint attempts to reach its desired Velocity.
- Lettura Parallela
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.
- Lettura Parallela
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.
- Lettura Parallela
The constraint's attempted target position when ActuatorType is set to Servo. Measured in studs.
- Lettura Parallela
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.
- Lettura Parallela
The Attachment that is connected to Constraint.Attachment1.
- Lettura Parallela
The Attachment that is connected to Constraint.Attachment0.
- Lettura Parallela
The color of the constraint.
Toggles whether or not the constraint is enabled.
Toggles the constraint's visibility.