This commit is contained in:
Joe 2026-02-02 12:08:47 -06:00
parent a9b4f8e83b
commit e6efc04756
8494 changed files with 495610 additions and 0 deletions

View file

@ -0,0 +1,38 @@
# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: PrismaticConstraint
type: class
memory_category: BaseParts
summary: |
Constraint which creates a rigid joint between two
`Class.Attachment|Attachments`, allowing them to slide along one axis but not
rotate.
description: |
A **PrismaticConstraint** creates a rigid joint between two
`Class.Attachment|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 `Class.SlidingBallConstraint`
including `Class.SlidingBallConstraint.ActuatorType|ActuatorType`,
`Class.SlidingBallConstraint.LimitsEnabled|LimitsEnabled`,
`Class.SlidingBallConstraint.Velocity|Velocity`, and more. Please refer to
`Class.SlidingBallConstraint` for details on configuring a
`Class.PrismaticConstraint`.
When configuring this constraint, it may be helpful to study
[Roblox Units](../../../physics/units.md) to understand how Roblox units
compare to metric units.
code_samples: []
inherits:
- SlidingBallConstraint
descendants: []
tags: []
deprecation_message: ''
properties: []
methods: []
events: []
callbacks: []