I need to create a projectile which will be destroyed by other player in my multiplayergame.
The fact is that for destroying it through the network I need to destroy it thanks to the networkview component and netqworkviewID component.
How can I add the force or the velocity to my GameObject. My prefab has a rigidbody but I can’t add a component to my rigidbody. But If I declare my prefab as a GameObject I can’t add velocity to it after the instantiation…