file: ConstantVolumeJoint.aus

class: ConstantVolumeJoint

[16:7] extends: Joint

Wraps jbox2d's ConstantVolumeJoint (com.almasb.fxgl.physics.box2d.dynamics.joints.ConstantVolumeJoint). Connects a group of three or more bodies into a closed polygon and constrains them to maintain a constant enclosed volume, driving each pair with an internal DistanceJoint.

Methods