Hi,
I'm having trouble with this particular concept. I know that I cannot call a Command from a non-player object.
I have a player which is able to launch a grenade. The grenade pops out, and a few seconds later explodes. When the explosion occurs, I want to check to see if any players are within a certain radius of the grenade position. Here is what I have thought of doing/tried:
1. Spawn a 2D collider at the point of the explosion and if it collides with any players apply damage to...
Player check from non-player object using UNET?
I'm having trouble with this particular concept. I know that I cannot call a Command from a non-player object.
I have a player which is able to launch a grenade. The grenade pops out, and a few seconds later explodes. When the explosion occurs, I want to check to see if any players are within a certain radius of the grenade position. Here is what I have thought of doing/tried:
1. Spawn a 2D collider at the point of the explosion and if it collides with any players apply damage to...
Player check from non-player object using UNET?