We use cookies on this site to enhance your user experience

BallSocketConstraint

BallSocketConstraint

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


Properties

Name Type Description
bool

Sets whether the BallSocketConstraint sets a limit on rotation based on BallSocketConstraint/UpperAngle.

float

The visualized radius of the BallSocketConstraint.

float

How elastic Attachment connected by a BallSocketConstraint will be when they reach the end of the range specified by BallSocketConstraint/UpperAngle when BallSocketConstraint/LimitsEnabled is true. Constrained between 0 and 1.

bool

Sets whether the BallSocketConstraint sets a limit on twist rotation based on BallSocketConstraint/TwistUpperAngle and BallSocketConstraint/TwistLowerAngle.

float

Sets the lower twist rotation limit of the BallSocketConstraint, as long as BallSocketConstraint/TwistLimitsEnabled is true.

float

Sets the upper twist rotation limit of the BallSocketConstraint, as long as BallSocketConstraint/TwistLimitsEnabled is true.

float

Sets the upper rotation limit of the BallSocketConstraint, as long as BallSocketConstraint/LimitsEnabled is true.

Inherited from Instance , Constraint

Archivable ClassName DataCost Name Parent RobloxLocked Attachment0 Attachment1 Color Enabled Visible