package
0.1.2
Repository: https://github.com/adamlenda/engine.git
Documentation: pkg.go.dev

# 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".
No description provided by the author
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.
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AttractorForceField is a force field where all forces point to a single point.
Broadphase is the base class for broadphase implementations.
No description provided by the author
CollisionPair is a pair of bodies that may be colliding.
ConstantForceField is a constant force field.
TODO AddBodyEvent, RemoveBodyEvent.
No description provided by the author
This file contains helpful infrastructure for debugging physics.
No description provided by the author
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.