Question by
Gugoasa · Jul 13, 2017 at 04:02 PM ·
forcethrowforce stop
Apply force on Enemy to throw him back (charge attack like)
Hello :) I'm trying to make a simple multiplayer game where the goal is to push the enemies out of the arena. The character is a sphere and when i press Left Shift it does a sprint like towards the direction I am aiming. I want that when I do the sprint and I hit an enemy (checked with layer comparison), I play a force on him in the point I have hitted him and throw him in the opposite direction. Any idea on how to do it? I was trying with OnCollisionEnter() ...
Comment