PrismaticConstraint

Show Deprecated

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 properties from SlidingBallConstraint and can be configured to actuate translation, as follows:

Note that both actuated and free translation can be limited by setting SlidingBallConstraint.LimitsEnabled to true. Also note that if this constraint attaches one part (A) to another part (B) that is anchored or connected to an anchored part (Z), part A will not be locally simulated when interacting with a player.

Summary

Properties

Events

Methods

Properties

Events

Methods