Module org.dyn4j
Package org.dyn4j.dynamics.joint
Sub package of the Dynamics package containing joints.
Joints are connections between bodies that limit their relative motion.
Joints are solved using an iterative constraint based approach in the same manner as contacts.
All joints, with exception of the PinJoint
join a pair
of PhysicsBody
s.
Current joint implementations:
AngleJoint
for constraining the rotation of two bodiesDistanceJoint
for fixed length distance, spring/damper, and limitsFrictionJoint
for applying friction, air resistance, joint friction, etcMotorJoint
primarily for character controlPinJoint
specifically to connect a distance joint with spring/damper to one bodyPrismaticJoint
for only allowing relative linear motion along an axis with or without a motor and limitsPulleyJoint
for creating a pulley with or without block-and- tackleRevoluteJoint
for only allowing relative rotation with or without a motorWeldJoint
for connecting two bodies together completelyWheelJoint
for connecting two bodies in a frame-wheel type configuration with linear spring/damper and angular motor
- Since:
- 1.0.0
- Version:
- 4.2.0
- Author:
- William Bittle
-
Interface Summary Interface Description AngularLimitsJoint Represents a joint with a single set of angular limits.AngularMotorJoint Represents a joint with an angular motor.AngularSpringJoint Represents a joint that has an angular spring at the pivot point.Joint<T extends PhysicsBody> Represents constrained motion betweenPhysicsBody
s.LinearLimitsJoint Represents a joint that has a single set of linear limits.LinearMotorJoint Represents a joint with a linear motor.LinearSpringJoint Represents a linear spring joint.PairedBodyJoint<T extends PhysicsBody> Represents constrained motion between twoPhysicsBody
s.SingleBodyJoint<T extends PhysicsBody> Represents constrained motion with a singlePhysicsBody
. -
Class Summary Class Description AbstractJoint<T extends PhysicsBody> Represents an abstract implementation of constrained motion betweenPhysicsBody
s.AbstractPairedBodyJoint<T extends PhysicsBody> Represents an abstract implementation of constrained motion between twoPhysicsBody
s.AbstractSingleBodyJoint<T extends PhysicsBody> Represents an abstract implementation of constrained motion with a singlePhysicsBody
.AngleJoint<T extends PhysicsBody> Implementation of an angle joint.DistanceJoint<T extends PhysicsBody> Implementation of a fixed length distance joint with optional, spring-damper and limits.FrictionJoint<T extends PhysicsBody> Implementation of a friction joint.MotorJoint<T extends PhysicsBody> Implementation a motor joint.PinJoint<T extends PhysicsBody> Implementation of a pin joint.PrismaticJoint<T extends PhysicsBody> Implementation of a prismatic joint.PulleyJoint<T extends PhysicsBody> Implementation of a pulley joint.RevoluteJoint<T extends PhysicsBody> Implementation of a pivot joint.WeldJoint<T extends PhysicsBody> Implementation of a weld joint.WheelJoint<T extends PhysicsBody> Implementation of a wheel joint.