im making a 2d platformer/shooter.
When a grenade explodes, i want the body parts to fly in the correct direction.
so if the person is close to the grenade, the body fly’s further , but i can’t seem to work out a simple way to do this, and im sure there is.
Something like, working out the distance between the grenade and the body, then ...