Collision between player and enemy

Topics: Developer Forum
Mar 1, 2010 at 6:38 PM

Hello again everyone!

I've got a new problem with collisions, and I know that you all are excellent at solving them. I've got no idea what I should do.

I've got my player, and I've got my enemy. The two objects should obviously collide with eachother. This works fine of course. However, when this occurs, the player can push the like if the enemy was a box! Now, I don't want that of course. What do you suggest I do? Should I put a force/impulse on the player (away from the enemy) or is there an excellent way of making the player not able to push away the enemy in some way? Any suggestions appreciated.