playMaker

Author Topic: Networking: How do i transmit the animation?  (Read 987 times)

Red

  • Hero Member
  • *****
  • Posts: 563
    • View Profile
Networking: How do i transmit the animation?
« on: December 03, 2012, 06:02:22 PM »
i've looked at the animation systems and i'm kinda scratching my head how i'm going to get the game to transmit the appropriate animation data to the other instances of the game that will be playing...

can someone point me in the right direction as to how to do this? it'd be awfully jarring to have the animation data not be correct (as in, the player is making it walk but the animation is not transitioning to the walk animation clip in the other instances of the game that are running across the network.)

blackant

  • Sr. Member
  • ****
  • Posts: 415
  • http://blackantmaster.com
    • View Profile
    • blackantmaster.com
Re: Networking: How do i transmit the animation?
« Reply #1 on: June 16, 2017, 03:40:34 PM »
maybe i'm wrong but animations a re just for visual aspect and doesn't need to be sent by network, so this part can be just applied to local part client and doesn't need to be updated by host.

Ofonna

  • Full Member
  • ***
  • Posts: 230
    • View Profile
Re: Networking: How do i transmit the animation?
« Reply #2 on: June 16, 2017, 10:06:52 PM »
are you using photon? there should be an animation view, then you'd put in your parameters so you can sync it over the network

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Re: Networking: How do i transmit the animation?
« Reply #3 on: June 19, 2017, 04:22:04 AM »
Hi,

yes, and with Photon there is a PhotonAnimatorView component that automate the process for you.

bye,

 Jean