# Packages
Package constraint implements physics constraints.
Package equation implements SPOOK equations based on the 2007 PhD thesis of Claude Lacoursière titled "Ghosts and Machines: Regularized Variational Methods for Interactive Simulations of Multibodies with Dry Frictional Contacts".
Package physics implements a basic physics engine.
# Functions
NewAttractorForceField creates and returns a pointer to a new AttractorForceField.
NewBroadphase creates and returns a pointer to a new Broadphase.
NewConstantForceField creates and returns a pointer to a new ConstantForceField.
NewNarrowphase creates and returns a pointer to a new Narrowphase.
NewRepellerForceField creates and returns a pointer to a new RepellerForceField.
NewSimulation creates and returns a pointer to a new physics simulation.
# Structs
AttractorForceField is a force field where all forces point to a single point.
Broadphase is the base class for broadphase implementations.
CollisionPair is a pair of bodies that may be colliding.
ConstantForceField is a constant force field.
TODO AddBodyEvent, RemoveBodyEvent.
This file contains helpful infrastructure for debugging physics.
Narrowphase.
RepellerForceField is a force field where all forces point away from a single point.
Simulation represents a physics simulation.
# Interfaces
ForceField represents a force field.