Add gravity, starting and stopping simulation

This commit is contained in:
2022-12-22 09:50:40 +00:00
parent d81f2f373c
commit efaf8736d8
8 changed files with 128 additions and 31 deletions

View File

@@ -101,6 +101,7 @@ void phys2d_update(float deltaT);
void phys2d_apply();
void phys2d_add_handler_type(int cmd, struct gameobject *go, s7_pointer cb);
void phys2d_set_gravity(float x, float y);
void shape_gui(struct phys2d_shape *shape);