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
Name | Type | Description |
---|---|---|
collisionExcludeNodes [get, set]
|
bool | If true , the two bodies of the nodes are not able to collide with each other.
|
nodesNodeA [get, set]
|
NodePath | The node attached to the first side (A) of the joint. |
nodesNodeB [get, set]
|
NodePath | The node attached to the second side (B) of the joint. |
solverPriority [get, set]
|
long | The priority used to define which solver is executed first for multiple joints. The lower the value, the higher the priority. |
Methods
Name | Description |
---|---|
getExcludeNodesFromCollision
|
|
getNodeA
|
|
getNodeB
|
|
getSolverPriority
|
|
setExcludeNodesFromCollision
|
|
setNodeA
|
|
setNodeB
|
|
setSolverPriority
|