ConstantVolumeJointDef class

Definition for a {@link ConstantVolumeJoint}, which connects a group a bodies together so they maintain a constant volume within them.

Inheritance

Constructors

ConstantVolumeJointDef()

Properties

bodies List<Body>
read / write
dampingRatio double
read / write
frequencyHz double
read / write
joints List<DistanceJoint>
read / write
bodyA Body
The first attached body.
read / write, inherited
bodyB Body
The second attached body.
read / write, inherited
collideConnected bool
Set this flag to true if the attached bodies should collide.
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type JointType
The joint type is set automatically for concrete joint types.
read / write, inherited
userData Object
Use this to attach application specific data to your joints.
read / write, inherited

Methods

addBody(Body argBody) → void
Adds a body to the group [...]
addBodyAndJoint(Body 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 non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited