Skip to content

Class · inherits SlidingBallConstraint

PrismaticConstraint

Official docs ↗

Constraint which creates a rigid joint between two Attachments, allowing them to slide along one axis but not rotate.

About 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.

PrismaticConstraint also has every member of SlidingBallConstraint. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.