Joint.getSticky

Returns the sticky directions of the joint for positive xyz and negative xyz.

Kind: Function

Environments: Game

Game

joint:getSticky(  )

Open the full Game reference

A value of 1 means that the direction is sticky and a value of 0 means that the direction is not sticky.

Parameters:

Name Type Description
joint Joint The joint.

Returns:

Type Description
Vec3
Vec3
The negative xyz sticky and the positive xyz sticky.