Class
PrismaticConstraint
Constraint which creates a rigid joint between two
Attachments, allowing them to slide along one axis but not
rotate.
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.
Inherited members#
Inherited from SlidingBallConstraint 15
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild