playMaker

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

Red

  • Hero Member
  • *****
  • Posts: 563
Networking: How do i transmit the animation?
« on: December 03, 2012, 08: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

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Networking: How do i transmit the animation?
« Reply #1 on: June 16, 2017, 06: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
Re: Networking: How do i transmit the animation?
« Reply #2 on: June 17, 2017, 01:06:52 AM »
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: 15500
  • Official Playmaker Support
Re: Networking: How do i transmit the animation?
« Reply #3 on: June 19, 2017, 07:22:04 AM »
Hi,

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

bye,

 Jean