public class ConstantVolumeJointDef extends JointDef
ConstantVolumeJoint
, which connects a group a bodies together so they
maintain a constant volume within them.Modifier and Type | Field and Description |
---|---|
float |
dampingRatio |
float |
frequencyHz |
Constructor and Description |
---|
ConstantVolumeJointDef() |
Modifier and Type | Method and Description |
---|---|
void |
addBody(Body argBody)
Adds a body to the group
|
void |
addBodyAndJoint(Body argBody,
DistanceJoint argJoint)
Adds a body and the pre-made distance joint.
|
public void addBody(Body argBody)
argBody
- public void addBodyAndJoint(Body argBody, DistanceJoint argJoint)
Copyright © 2017. All Rights Reserved.