SixDofJoint3DComponent class

Each of the six degrees of freedom free, limited or fixed — anything the other joints cannot express.

Inheritance

Constructors

SixDofJoint3DComponent({EntityTarget connectedBody = EntityTarget.none, Vector3? anchor, bool enabled = true, Vector3? axis, Vector3? normal, SixDofAxis3DMode translationX = SixDofAxis3DMode.fixed, SixDofAxis3DMode translationY = SixDofAxis3DMode.fixed, SixDofAxis3DMode translationZ = SixDofAxis3DMode.fixed, SixDofAxis3DMode rotationX = SixDofAxis3DMode.fixed, SixDofAxis3DMode rotationY = SixDofAxis3DMode.fixed, SixDofAxis3DMode rotationZ = SixDofAxis3DMode.fixed, Vector3? translationMin, Vector3? translationMax, Vector3? rotationMin, Vector3? rotationMax})
Every axis fixed, by default; axis is the joint's X axis and normal its Y, in this entity's space.

Properties

anchor ↔ Vector3
Where on this entity the joint holds, in its own space.
getter/setter pairinherited
axis ↔ Vector3
The joint's X axis, in this entity's space.
getter/setter pair
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 → Joint3DKind
Which kind of joint this is.
no setteroverride
modes → List<SixDofAxis3DMode>
The six modes in the physics engine's order.
no setter
normal ↔ Vector3
The joint's Y axis, in this entity's space.
getter/setter pair
rotationMax ↔ Vector3
Limits of limited rotation axes, radians.
getter/setter pair
rotationMin ↔ Vector3
Limits of limited rotation axes, radians.
getter/setter pair
rotationX ↔ SixDofAxis3DMode
See translationX.
getter/setter pair
rotationY ↔ SixDofAxis3DMode
See translationX.
getter/setter pair
rotationZ ↔ SixDofAxis3DMode
See translationX.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
translationMax ↔ Vector3
Limits of limited translation axes, metres.
getter/setter pair
translationMin ↔ Vector3
Limits of limited translation axes, metres.
getter/setter pair
translationX ↔ SixDofAxis3DMode
What each axis may do.
getter/setter pair
translationY ↔ SixDofAxis3DMode
What each axis may do.
getter/setter pair
translationZ ↔ SixDofAxis3DMode
What each axis may do.
getter/setter pair

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