I have a RigidBody2D Spaceship and multple one-time forces (aka impulses) that are applied (from outside) to the Spaceship via
apply_central_impulse (dokumentation). Now I would like to know the sum of the impulses. How can I find this sum? I tried using
applied_force but it seems like that is always
(0,0), so perhaps it is only for (continously applied) forces, not impulses?
Here is my (condensed) code:
In the parent Scene:
onready var ship : RigidBody2D = get_node("SpaceShip")
In the Spaceship:
var current_impulse = insert_force_here # I need help here
How can I find the current impulse of a RigidBody?