BallSocketConstraint

Show Deprecated

A BallSocketConstraint constrains its Attachments so that they occupy the same position. By default it allows both attachments to freely rotate about all of their axes, but if LimitsEnabled is true, the attachments can only rotate in a limited cone.

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.

When configuring this constraint, it may be helpful to study Roblox Units to understand how Roblox units compare to metric units.

Limits

You can set limits to restrict both tilt and twist of a ball socket, similar to how a human's head can tilt and turn within a limited axial range. Enabling the LimitsEnabled property exposes the UpperAngle value to restrict tilt within a cone; it also exposes the TwistLimitsEnabled property which, when enabled, lets you restrict twist rotation through the TwistLowerAngle and TwistUpperAngle limits.

Summary

Properties

Properties inherited from Constraint

Properties

Properties

LimitsEnabled

Read Parallel

MaxFrictionTorque

Read Parallel

Radius

Read Parallel

Restitution

Read Parallel

TwistLimitsEnabled

Read Parallel

TwistLowerAngle

Read Parallel

TwistUpperAngle

Read Parallel

UpperAngle

Read Parallel

Methods

Events