Class Summary |
GenericMassedCollider<A extends MassedBeing,B extends MassedBeing> |
This is a collision handler for MassedBeing and its subclasses which handles collisions
using both projection (instantly separating the bodies) and impulse (changing their velocities). |
GravityInteractor |
An interactor for gravitational attractions using the standard inverse-square force model. |
ImpulseCollision |
This class is used to store the data for an impulse-based collision between two beings.
Intended for internal use, you do not need to understand or use this class!
It will accumulate an impulse for a collision between two beings, and apply it equally to each
when the collision is resolved. |
InsideMassedCollider |
A Collider that keeps a being's bounding box contained inside of another by projection and impulse collision. |
InverseSquareInteractor |
A general inverse square-law force interactor. |
MassedBeing |
An extension of Being representing a body with mass and elasticity. |
MassedCollider |
This is a collision handler for MassedBeing which handles collisions
using both projection (instantly separating the bodies) and impulse (changing their velocities). |
Physics |
A utility class for physics. |