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 CoefficientMixer Deprecated. Deprecated in 4.0.0.CollisionListener Deprecated. Deprecated in 4.0.0.ConvexCastListener Deprecated. Deprecated in 4.0.0.DestructionListener Deprecated. Deprecated in 4.0.0.DetectListener Deprecated. Deprecated in 4.0.0.PhysicsBody Represents a physicalPhysicsBody
.RaycastListener Deprecated. Deprecated in 4.0.0.StepListener Deprecated. Deprecated in 4.0.0.TimeOfImpactListener Deprecated. Deprecated in 4.0.0. -
Class Summary Class Description AABBBroadphaseFilter Deprecated. Deprecated in 4.0.0.AbstractPhysicsBody Abstract implementation of thePhysicsBody
interface.Body Full implementation of theCollisionBody
andPhysicsBody
interfaces.BodyFixture Represents a piece of aPhysicsBody
.Capacity Deprecated. Deprecated in 4.0.0.CollisionAdapter Deprecated. Deprecated in 4.0.0.Constraint Deprecated. Deprecated in 4.0.0.ConvexCastAdapter Deprecated. Deprecated in 4.0.0.ConvexCastResult Deprecated. Deprecated in 4.0.0.DestructionAdapter Deprecated. Deprecated in 4.0.0.DetectAdapter Deprecated. Deprecated in 4.0.0.DetectBroadphaseFilter Deprecated. Deprecated in 4.0.0.DetectResult Deprecated. Deprecated in 4.0.0.Force Represents a force.RaycastAdapter Deprecated. Deprecated in 4.0.0.RaycastBroadphaseFilter Deprecated. Deprecated in 4.0.0.RaycastResult Deprecated. Deprecated in 4.0.0.Settings Responsible for housing all of the dynamics engine's settings.Step Deprecated. Deprecated in 4.0.0.StepAdapter Deprecated. Deprecated in 4.0.0.TimeOfImpactAdapter Deprecated. Deprecated in 4.0.0.TimeStep Class encapsulating the timestep information.Torque Represents a torque about the z-axis.World Deprecated. Deprecated in 4.0.0. -
Enum Summary Enum Description ContinuousDetectionMode Enumeration of Continuous Collision Detection modes.