SixDofJoint3D class

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

Inheritance

Constructors

SixDofJoint3D({EntityTarget connectedBody = EntityTarget.none, Vector3? anchor, bool enabled = true, Vector3? axis, Vector3? normal, SixDofAxisMode3D translationX = SixDofAxisMode3D.fixed, SixDofAxisMode3D translationY = SixDofAxisMode3D.fixed, SixDofAxisMode3D translationZ = SixDofAxisMode3D.fixed, SixDofAxisMode3D rotationX = SixDofAxisMode3D.fixed, SixDofAxisMode3D rotationY = SixDofAxisMode3D.fixed, SixDofAxisMode3D rotationZ = SixDofAxisMode3D.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 → JointKind3D
Which kind of joint this is.
no setteroverride
modes → List<SixDofAxisMode3D>
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 ↔ SixDofAxisMode3D
See translationX.
getter/setter pair
rotationY ↔ SixDofAxisMode3D
See translationX.
getter/setter pair
rotationZ ↔ SixDofAxisMode3D
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 ↔ SixDofAxisMode3D
What each axis may do.
getter/setter pair
translationY ↔ SixDofAxisMode3D
What each axis may do.
getter/setter pair
translationZ ↔ SixDofAxisMode3D
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