Hi, Im making a Game in Unity that involves two players throwing Rigidbodies at eachother, using a Script that I found online (Similar to the Gravity Gun in HL2).
The problem is that because the RigidBody is owned by the server’s networkView, the client player is unable to move/throw it.
The closest I have come to an answer is Here.
This suggests Changing the networkView on an object depending on who is using/moving it.
I am not amazing at scripting as I like to focus more on the design elements. I have tried to get this working, but i don’t really understand all about RPC’s and I don’t know how to implement the changing of networkViews. Ideally, I’d like to set the ownership of a Rigidbody to the person who clicked on it.
If someone could tell me how to go about doing this, it’d be very much appreciated!
Please!