JJ_JointSettings class final

A joint between two bodies (body B may be the world). Anchors and axes are in world space, as the bodies are when the joint is made.

Inheritance
Implemented types
Available extensions

Constructors

JJ_JointSettings()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
axis ↔ Array<Float>
Hinge: the axis it turns about. Slider: the axis it slides along. Six-DOF: the twist (X) axis.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
hasLimits ↔ bool
Whether a hinge, slider or distance joint keeps between limitMin and limitMax.
getter/setter pair
kind ↔ int
JJ_JOINT_*.
getter/setter pair
limitMax ↔ double
The upper limit, in the same units as limitMin.
getter/setter pair
limitMin ↔ double
The lower limit: radians for a hinge, metres for a slider or a distance joint.
getter/setter pair
maxFriction ↔ double
Hinge and slider: friction torque or force when no motor drives it.
getter/setter pair
motorMaxForce ↔ double
The most torque (hinge) or force (slider) the motor may use; 0 for no limit.
getter/setter pair
motorState ↔ int
Hinge and slider motor: JJ_MOTOR_*.
getter/setter pair
motorTarget ↔ double
The motor's target: a velocity (rad/s or m/s) or a position (radians or metres), as motorState says.
getter/setter pair
normal ↔ Array<Float>
Perpendicular to axis: where a hinge's angle is 0, and a six-DOF joint's Y axis.
getter/setter pair
pointA ↔ Array<Float>
Anchor on body A.
getter/setter pair
pointB ↔ Array<Float>
Anchor on body B, or in the world when B is the world.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sixDofFixed ↔ int
Six-DOF: the axes that cannot move, bits as in sixDofFree. Fixed wins over free.
getter/setter pair
sixDofFree ↔ int
Six-DOF: the axes that move freely, bits 0-5 (translation X Y Z, rotation X Y Z). An axis neither free nor fixed is limited to sixDofMin..sixDofMax.
getter/setter pair
sixDofMax ↔ Array<Float>
Six-DOF: the upper limit of each limited axis, metres or radians.
getter/setter pair
sixDofMin ↔ Array<Float>
Six-DOF: the lower limit of each limited axis, metres or radians.
getter/setter pair
springDamping ↔ double
The soft limit's damping ratio.
getter/setter pair
springFrequency ↔ double
Makes a limit soft (on a distance joint, a spring): frequency in Hz, 0 for a rigid limit.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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