LockConstraint class
Lock constraint. Will remove all degrees of freedom between the bodies.
- Inheritance
-
- Object
- Constraint
- PointToPointConstraint
- LockConstraint
Constructors
- LockConstraint(Body bodyA, Body bodyB, {double maxForce = 1e6})
Properties
- bodyA ↔ Body
-
getter/setter pairinherited
- bodyB ↔ Body
-
getter/setter pairinherited
- collideConnected ↔ bool
-
Set to false if you don't want the bodies to collide when they are connected.
getter/setter pairinherited
-
equations
↔ List<
Equation> -
Equations to be solved in this constraint.
getter/setter pairinherited
- equationX ↔ ContactEquation
-
getter/setter pairinherited
- equationY ↔ ContactEquation
-
getter/setter pairinherited
- equationZ ↔ ContactEquation
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int
-
getter/setter pairinherited
- motorEquation ↔ RotationalMotorEquation?
-
getter/setter pair
- pivotA ↔ Vec3
-
Pivot, defined locally in bodyA.
getter/setter pairinherited
- pivotB ↔ Vec3
-
Pivot, defined locally in bodyB.
getter/setter pairinherited
- rotationalEquation1 ↔ RotationalEquation
-
getter/setter pair
- rotationalEquation2 ↔ RotationalEquation
-
getter/setter pair
- rotationalEquation3 ↔ RotationalEquation
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xA ↔ Vec3
-
getter/setter pair
- xB ↔ Vec3
-
getter/setter pair
- yA ↔ Vec3
-
getter/setter pair
- yB ↔ Vec3
-
getter/setter pair
- zA ↔ Vec3
-
getter/setter pair
- zB ↔ Vec3
-
getter/setter pair
Methods
-
disable(
) → void -
Disables all equations in the constraint.
inherited
-
enable(
) → void -
Enables all equations in the constraint.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void -
update
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited