Struct Joint

Base class for all 3D joints.

struct Joint ;

Joints are used to bind together two physics bodies. They have a solver priority and can define if the bodies of the two attached nodes should be able to collide with each other.

Properties

NameTypeDescription
collisionExcludeNodes[get, set] boolIf true, the two bodies of the nodes are not able to collide with each other.
nodesNodeA[get, set] NodePathThe node attached to the first side (A) of the joint.
nodesNodeB[get, set] NodePathThe node attached to the second side (B) of the joint.
solverPriority[get, set] longThe priority used to define which solver is executed first for multiple joints. The lower the value, the higher the priority.

Methods

NameDescription
getExcludeNodesFromCollision
getNodeA
getNodeB
getSolverPriority
setExcludeNodesFromCollision
setNodeA
setNodeB
setSolverPriority