|
Gama C Library
Gama C API Documentation
|
Structure representing a physics system containing bodies and collision information. More...
#include <system.h>
Data Fields | |
| int | is_active |
| gmBodies | bodies |
| struct gm_collision ** | collisions |
| gmPos | velocity |
| gmPos | acceleration |
| double | damping |
Structure representing a physics system containing bodies and collision information.
| gmPos gm_system::acceleration |
Global acceleration applied to all bodies (e.g., gravity).
| gmBodies gm_system::bodies |
List of pointers to bodies currently managed by this system.
| struct gm_collision** gm_system::collisions |
Array of active collision information objects.
| double gm_system::damping |
Global damping factor applied to all bodies (reduces velocity over time).
| int gm_system::is_active |
Whether the system is active and should be updated.
| gmPos gm_system::velocity |
Global velocity applied to all bodies in the system (e.g., wind).