i would probably use the physics behavior to do it.
so the events for wasd would be:
wasd key is down apply physics force at angle [x degrees]
then collision events:
on collision with enemy apply impulse to player at -player.angle and impulse to enemy at player.angle