Joint

Base class for all 3D joints.

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.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_bodyExitTree
void _bodyExitTree()
getExcludeNodesFromCollision
bool getExcludeNodesFromCollision()
getNodeA
NodePath getNodeA()
getNodeB
NodePath getNodeB()
getSolverPriority
long getSolverPriority()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(Joint other)
opEquals
bool opEquals(typeof(null) n)
setExcludeNodesFromCollision
void setExcludeNodesFromCollision(bool enable)
setNodeA
void setNodeA(NodePathArg0 node)
setNodeB
void setNodeB(NodePathArg0 node)
setSolverPriority
void setSolverPriority(long priority)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

collisionExcludeNodes
bool collisionExcludeNodes [@property getter]
bool collisionExcludeNodes [@property setter]

If true, the two bodies of the nodes are not able to collide with each other.

nodesNodeA
NodePath nodesNodeA [@property getter]
NodePath nodesNodeA [@property setter]

The node attached to the first side (A) of the joint.

nodesNodeB
NodePath nodesNodeB [@property getter]
NodePath nodesNodeB [@property setter]

The node attached to the second side (B) of the joint.

solverPriority
long solverPriority [@property getter]
long solverPriority [@property setter]

The priority used to define which solver is executed first for multiple joints. The lower the value, the higher the priority.

Static functions

_new
Joint _new()

Construct a new instance of Joint. Note: use memnew!Joint instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta