PointJoint3D class

Holds two bodies at one point, free to turn about it (a ball joint).

Inheritance

Constructors

PointJoint3D({EntityTarget connectedBody = EntityTarget.none, Vector3? anchor, bool enabled = true})
A point joint.

Properties

anchor ↔ Vector3
Where on this entity the joint holds, in its own space.
getter/setter pairinherited
componentType → Type
Type identifier for this component
no setterinherited
connectedBody ↔ EntityTarget
The other body's entity; none for the world.
getter/setter pairinherited
enabled ↔ bool
Whether the joint acts.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
joint ↔ int
The physics engine's joint, or 0 while it has none. Runtime only.
getter/setter pairinherited
kind → JointKind3D
Which kind of joint this is.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAttach(EntityId entityId) → void
Called when this component is added to an entity.
inherited
onDetach(EntityId entityId) → void
Called when this component is removed from an entity.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited