So i have a multiplayer game i am working on, i got every thing working fine now only one problem that i have got a few days now.
I can see other bullets fly, they bounce whay from player 2 if i shot with player 1.
But it dont reduce the life...
var Bullet:Transform;
function OnControllerColliderHit(hit : ControllerColliderHit)
{
if(networkView.isMine)
{
if(hit.gameObject == Bullet)
{
Statics.Life -=4;
}
Debug.Log("Test: "+hit.gameObject.tag);
}
}
The "Test" only tells me that i touch the floor...