Roblox UtilitiesDevlHub Roblox Documentation

Class

JointsService

NotCreatableServiceDeprecated
Inherits
Instance › Object
Memory category
Instances

A service that stores joints created by surface connections.

Deprecated. This service has been deprecated in favor of constraints which should be used for surface connections instead

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.

Methods 5#

ClearJoinAfterMoveJointsWill remove any 'create joints' that were made visible via the JointsService:ShowPermissibleJoints() method.
CreateJoinAfterMoveJointsUpdates all visible joints for the parts assigned by the JointsService:SetJoinAfterMoveTarget() and JointsService:SetJoinAfterMoveInstance() methods.
SetJoinAfterMoveInstanceSets the PVInstance that will be connected with the target PVInstance specified by JointsService:SetJoinAfterMoveTarget().
SetJoinAfterMoveTargetSets the PVInstance that will be connected with the PVInstance specified by JointsService:SetJoinAfterMoveInstance().
ShowPermissibleJointsWhen used it will visibly display a potential surface connection between the two BasePart, which were set with JointsService:SetJoinAfterMoveTarget() and JointsService:SetJoinAfterMoveInstance().

ClearJoinAfterMoveJoints(): ()#

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

Returns
  • ()

CreateJoinAfterMoveJoints(): ()#

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

Returns
  • ()

SetJoinAfterMoveInstance(joinInstance: Instance): ()#

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

NameTypeDefaultDescription
joinInstanceInstanceThe PVInstance to be joined to the target set by JointsService:SetJoinAfterMoveTarget().
Returns
  • ()

SetJoinAfterMoveTarget(joinTarget: Instance): ()#

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

NameTypeDefaultDescription
joinTargetInstanceThe PVInstance to serve as the connection target for the instance set by JointsService:SetJoinAfterMoveInstance().
Returns
  • ()

ShowPermissibleJoints(): ()#

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

Returns
  • ()

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed