Shape.createJoint

Create a new joint

Kind: Function

Environments: Game

Game

shape:createJoint( uuid, position, direction )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
shape Shape The host shape.
uuid Uuid The uuid of the joint.
position Vec3 The joint's grid position.
direction Vec3 The joint's normal direction.

Returns:

Type Description
Joint The created joint.