Generic constructs to build a physics engine.