ConeTwistConstraint class
A Cone Twist constraint, useful for ragdolls.
- Inheritance
-
- Object
- Constraint
- PointToPointConstraint
- ConeTwistConstraint
Constructors
Properties
- angle ↔ double
-
The aperture angle of the cone.
getter/setter pair
- axisA ↔ Vec3
-
The axis direction for the constraint of the body A.
getter/setter pair
- axisB ↔ Vec3
-
The axis direction for the constraint of the body B.
getter/setter pair
- 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
- coneEquation ↔ ConeEquation
-
getter/setter pair
-
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
- pivotA ↔ Vec3
-
Pivot, defined locally in bodyA.
getter/setter pairinherited
- pivotB ↔ Vec3
-
Pivot, defined locally in bodyB.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- twistAngle ↔ double
-
The twist angle of the joint.
getter/setter pair
- twistEquation ↔ RotationalEquation
-
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 all the equations with data.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited