Playmaker Forum

PlayMaker News => General Discussion => Topic started by: Raptcha911 on February 16, 2016, 10:07:31 AM

Title: Animator State Sync Multiplayer?
Post by: Raptcha911 on February 16, 2016, 10:07:31 AM
I saw the new animator state sync feature in the forums recently and wanted to know how I can use it to synchronize the animation of a character over the network??..
I'm using photon with Playmaker.. Anyone know how it can be done?
Title: Re: Animator State Sync Multiplayer?
Post by: SeriousRPG on February 19, 2016, 11:32:13 AM
Hi,
I have it working. On my player I have the following components:
 my controller : Player_ControlScript (3rd person control)

Photon Animator View
Photon Transform View
Photon View
Playmaker Photon Game Object Proxy

I also have this, because in the past I couldn't get it to work without it.
Network View (Deprecated)
-   Observing Playmaker FSM (Player)

I have three FSMs
Behavior set up
GameObject naming
Photon Network Sync FSM (this I only have because I have some other variables to sync)

My controller script has the Is Mine stuff like the Photon example. In the Photon Animator View I set my variables like the Photon example, in the Photon Transform View I set the variables like the Photon example too (Sync on Position and Rotation).

Are you having a specific problem or just not sure how to replace the old variable FSM sync'g with these new proxies?

Sandi