Hi,
I would simply use the OverlapSphere function.
Have a look [here][1] !
[1]: http://docs.unity3d.com/ScriptReference/Physics.OverlapSphere.html
In my opinion that is the easiest way to check if an enemy was close to the grenade.
code_warrior
↧