IgnoreCollision on a Network Instantiated Object

I want to spawn a projectile in a network game, but I don't want it to explode immediately. I was trying to use IgnoreCollision, but I realized that after calling Network.Instantiate, only the originating client will process the IgnoreCollision call.

Is there a network safe way to do this or do I just need to instantiate the projectile far enough away from the originating object?

GameObject thisProj = Network.Instantiate (Projectile, projLocation, projRotation, 0) as GameObject;
Physics.IgnoreCollision(thisProj.collider, Shooter.collider);

You'd have to put your call to Physics.IgnoreCollision into

MonoBehaviour.OnNetworkInstantiate

That should do the trick. The call the way you wrote it only has an effect on local objects because Physics is not automatically "network aware".

In your projectile’s Start() set collider.isTrigger = true if the client is executing (Network.isClient). This will allow the server to authoritatively handle collisions, as it should (: