Hi.
I want to create a system where the player will get knocked away from the enemy when they collide, relative to which direction the player comes from (e.g. the player is coming from the right when it hits the enemy, so it gets pushed left, etc)
<img src="http://imagizer.imageshack.us/v2/800x600q90/7/ul9r.png" border="0" />
How would one go about this?
Thanks : )