Hello,
I'm trying to make a little mechanic with a RigidBody2D but it's coming with some unexpected difficulties.
The mechanic is: click at a certain point on the screen and the RigidBody will fly towards that point, with a single burst of force. I thought it would have been as simple as to rotate the object towards the mouse and apply an impulse, but the vector 2 which "apply_impulse()" takes for the impulse is global, so rotating it has no effect as to where it is thrown.
What's the best way to go about making the mechanic or bypassing this issue?
Thank you a lot in advance.