JointsService

Show Deprecated
not creatable
service
deprecated

The JointsService is a service that stores joints created by surface connections. It also has API available for visualizing surface to surface contact, and joining surfaces together.

Summary

Methods

Properties

Methods

ClearJoinAfterMoveJoints

void

Will remove any 'create joints' that were made visible via the JointsService:ShowPermissibleJoints() method.


Returns

void

CreateJoinAfterMoveJoints

void

Updates all visible joints for the parts assigned by the JointsService:SetJoinAfterMoveTarget() and JointsService:SetJoinAfterMoveInstance() methods.


Returns

void

SetJoinAfterMoveInstance

void

Sets the PVInstance that will be connected with the target PVInstance specified by JointsService:SetJoinAfterMoveTarget().

Parameters

joinInstance: Instance

Returns

void

SetJoinAfterMoveTarget

void

Sets the PVInstance that will be connected with the PVInstance specified by JointsService:SetJoinAfterMoveInstance().

Parameters

joinTarget: Instance

Returns

void

ShowPermissibleJoints

void

When used it will visibly display a potential surface connection between the two BasePart, which were set with JointsService:SetJoinAfterMoveTarget() and JointsService:SetJoinAfterMoveInstance().


Returns

void

Events