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

Properties

Events

Methods


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


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

SetJoinAfterMoveInstance(joinInstance: Instance): void  

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

SetJoinAfterMoveTarget(joinTarget: Instance): void  

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


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

Properties

Events

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

No return.

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