Hello all.
I have a round-shaped main character who is in a top down game. There are other round-shaped NPCs in the game, NPCs who move. When the main character and the NPCs collide I wish to have them both bounce away from each other.
In order to try to make this happen I have tried the following...
Given both of them physics and tried adjusting the elasticity and density of the objects.
Created an event where upon collision an impulse tries to push the player away from the impact.
With everything I've tried, the main character just pushes through the NPC with no real impeding of its movement, or the NPCs get thrown away violently.
Am I missing something? Is there any way to do this?