Forcelist
Forcelist is a data structure used in physics simulations and game engines to store multiple force contributions acting on a rigid body or particle. Each entry represents a single force and may include its vector, application point, duration or timestamp, and a label indicating the source. Forcelists enable modular accumulation of forces from different subsystems, such as gravity, collisions, propulsion, and environmental effects.
Most engines process a forcelist during a simulation step by summing the force vectors to produce the
Common sources of forces include gravity, contact forces from collisions, spring or constraint forces, damping, user
Implementation considerations include data layout for performance, methods to add, remove, or clear entries, and thread