ConstantVolumeJointDef<A extends Body> class
Definition for a {@link ConstantVolumeJoint}, which connects a group a bodies together so they maintain a constant volume within them.
Constructors
Properties
-
bodies
→ List<
A> -
final
- bodyA ↔ A
-
The first attached body.
getter/setter pairinherited
- bodyB ↔ A
-
The second attached body.
getter/setter pairinherited
- collideConnected ↔ bool
-
Set this flag to true if the attached bodies should collide.
getter/setter pairinherited
- dampingRatio ↔ double
-
getter/setter pair
- frequencyHz ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
joints
→ List<
DistanceJoint> -
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
- 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
-
addBody(
A body) → void - Adds a body to the group
-
addBodyAndJoint(
A argBody, DistanceJoint argJoint) → void - Adds a body and the pre-made distance joint. Should only be used for deserialization.
-
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