- Home /
Photon Instantiated Prefab of OTHER Player Falls Over
I am using Unity's MMO Player, Camera and Animation Controllers on a Prefab I am using as a Player's main character. Player A's Client is Window 1, Player B's Client is Window 2. Player A sees Player B join and B shows up in Window 1, but then immediately falls over. Player B sees Player A, but A immediately falls over in Window 2 (Player B's client window). See attached screenshot:
I'm not sure what is happening with the other player's character in the respective views?
Thanks in advance for any help on this!
Cheers!
Jim
I've learned that the issue is in the $$anonymous$$$$anonymous$$O ThirdPersonController. It uses Rigidbody.AddForce to move the character. When the other player's character shows up, if the terrain is not level, the "remote" character literally tips over and falls to the ground. So I need to figure out how to restrict the "remote" character to staying vertical.
Either stream the correct rotation of the character or lock the rotation on remote players.
Answer by jvcraft87 · Dec 11, 2013 at 10:39 PM
The Rigidbody constraints for rotation need to be locked for remote players.