Bullet Collision Problem

Options
Hey there,
i have a problem with my pun game. When i shoot a bullet and it hits the enemy then he should be killed.
The problem is that the bullet gets a collision with him but only SOMETIMES the enemies dies but he should always die.
Is the bullet to fast?

Here are my options (bullet speed: addforce.forward *500)



Bullet gets photon.instantiate

thank you

Comments

  • vadim
    Options
    If your bullets are really fast and you suspect that this is the problem, try Physics.Raycast to detect hit.

    Note that using PhotonView and network synchronization for bullets is the waste of resources. Send RPC's notifying others about shot and hit instead.