set_gravity(x, y)
Sets the gravity that all objects are affected by. TODO: lighter objects do not fall slower currently...
Parameters
:
x
[value: any, type: float]
y
[value: any, type: float]
Return Value
:
None
file:
src/physics/engine_physics_module.c