This component add gravity to game object.
This component use the TransformComponent and it can’t work without it.
In the editor, you can change gravity with a spin.
game_object: Object which own this component (GameObject)
engine: Utility class to control the game (Engine)
gravity: Current gravity of component (integer)
max_gravity: Maximum gravity of component (integer)
grounded: True if object can’t be move by gravity (boolean)
time: Time must be elipsed beform apply gravity (float)
You may not change grounded and time.
grounded only work with the CollisionComponent
No public function in this component.