PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

JointsService

Show deprecated

JointsService

Show 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.


Properties

Functions

void

ClearJoinAfterMoveJoints ( )

Will remove any ‘create joints’ that were made visible via the JointsService/ShowPermissibleJoints method.

void

CreateJoinAfterMoveJoints ( )

Updates all visible joints for the parts assigned by the JointsService/SetJoinAfterMoveTarget and JointsService/SetJoinAfterMoveInstance methods.

void

SetJoinAfterMoveInstance ( Instance joinInstance )

Sets the PVInstance that will be connected with the target PVInstance specified by SetJoinAfterMoveTarget.

void

SetJoinAfterMoveTarget ( Instance joinTarget )

Sets the PVInstance that will be connected with the PVInstance specified by SetJoinAfterMoveInstance.

void

ShowPermissibleJoints ( )

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

Events