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 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 PhysicsBody
s that needs to be
resolved. The ContactConstraintSolver
defines the
process to solve a set of contacts.
Joints
Joints are rules placed between two PhysicsBody
s that
governs their motion. For example the DistanceJoint
is used to keep two PhysicsBody
s within some distance
of each other.
- Since:
- 1.0.0
- Version:
- 4.0.0
- Author:
- William Bittle
-
Interface Summary Interface Description PhysicsBody Represents a physicalPhysicsBody
. -
Class Summary Class Description AbstractPhysicsBody Abstract implementation of thePhysicsBody
interface.Body Full implementation of theCollisionBody
andPhysicsBody
interfaces.BodyFixture Represents a piece of aPhysicsBody
.Force Represents a force.Settings Responsible for housing all of the dynamics engine's settings.TimeStep Class encapsulating the timestep information.Torque Represents a torque about the z-axis. -
Enum Summary Enum Description ContinuousDetectionMode Enumeration of Continuous Collision Detection modes.