MotorJointDef<A extends Body, B extends Body> class
Motor joint definition.
Constructors
Properties
- angularOffset ↔ double
-
The bodyB angle minus bodyA angle in radians.
getter/setter pair
- bodyA ↔ A
-
The first attached body.
getter/setter pairinherited
- bodyB ↔ B
-
The second attached body.
getter/setter pairinherited
- collideConnected ↔ bool
-
Set this flag to true if the attached bodies should collide.
getter/setter pairinherited
- correctionFactor ↔ double
-
Position correction factor in the range
0,1
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- linearOffset → Vector2
-
Position of bodyB minus the position of bodyA, in bodyA's frame, in
meters.
final
- localAnchorA → Vector2
-
The local anchor point relative to body1's origin.
finalinherited
- localAnchorB → Vector2
-
The local anchor point relative to body2's origin.
finalinherited
- maxForce ↔ double
-
The maximum motor force in N.
getter/setter pair
- maxTorque ↔ double
-
The maximum motor torque in N-m.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userData ↔ Object?
-
Use this to attach application specific data to your joints.
getter/setter pairinherited
Methods
-
initialize(
A bodyA, B bodyB) → void -
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