|
I've been trying to achieve this for a few days now, and can't make it work as intended. Most of the time I end up spawning extra clones or player's camera ends up on a different player. First of all I'm doing this to be able to take advantage of the Unity's physics properties and visually "destroy" player's tank by adding rigidbodies to all its elements and unparenting them so that the gravity did its job and break down the model. This works perfectly in single player. But when I try doing this in multiplayer all sort of problems come up. I'm considering a non destructive approach, to just put the model back together and to position it at spawn point, and that would be my "plan B", but I would like to know if it's possible to do it the other way. What's the correct way of cleaning up the destruction and then spawning a clean instance of a network player? Thanks.
(comments are locked)
|

You're probably better off with plan B