JointAxisConfig class Physics
The configuration of one of a GenericJoint's six axes.
motion sets whether the axis is rigidly locked, free, or confined to a band. lowerLimit / upperLimit apply only when motion is JointAxisMotion.limited. An optional motor drives the axis.
Constructors
- JointAxisConfig.free({JointMotor? motor})
-
The axis moves freely, optionally driven by
motor.const - JointAxisConfig.limited(double lower, double upper, {JointMotor? motor})
-
The axis is confined to
lower..upper(meters on a linear axis, radians on an angular one), optionally driven bymotor.const - JointAxisConfig.locked()
-
The axis is rigidly fixed (no relative motion along it).
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lowerLimit → double
-
final
- motion → JointAxisMotion
-
final
- motor → JointMotor?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upperLimit → double
-
final
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