Module org.dyn4j

Package org.dyn4j.dynamics

Package containing classes that handle physical interaction.

There are three constructs that this and sub packages handle:

  • Physical Bodies
  • Contacts
  • Joints
Physical Bodies

Physical bodies are respresented by the PhysicsBody interface and the Body class. These add the concepts of velocity, force, impulse, etc. to the CollisionBody.

Contacts

Contacts are represented by the Contact interface and the ContactConstraint class. Together these define contact between two PhysicsBodys that needs to be resolved. The ContactConstraintSolver defines the process to solve a set of contacts.

Joints

Joints are rules placed between two PhysicsBodys that governs their motion. For example the DistanceJoint is used to keep two PhysicsBodys within some distance of each other.

Since:
1.0.0
Version:
4.0.0
Author:
William Bittle