Jump to content
  • Advertisement
Klebs

Forge Networking Sync Animations

Recommended Posts

Hey so, i need help in how to sync animations using Forge Networking i tried sometings but nothing

Share this post


Link to post
Share on other sites
Advertisement

We're going to need more information than that.  You tried what?  And what did you expect the outcome to be?  What have you done to debug the issue?  Etc...  The more information the better.

Share this post


Link to post
Share on other sites
9 hours ago, Mike2343 said:

We're going to need more information than that.  You tried what?  And what did you expect the outcome to be?  What have you done to debug the issue?  Etc...  The more information the better.

I tried doing on an RPC call, sync the bool variable, but nothing i want so that the animation of the character sync between every client and server

Share this post


Link to post
Share on other sites

I assume every animation has a "current play position" parameter, to allow seeking?

When animations start playing, and while they're playing, you should probably keep sending packets of "animation X is playing, at position Y when the game time is T." On the client, receive those, and make sure the animations sync up to animation-position / game-time. When animations stop playing, of course send a packet saying they aren't playing anymore (and, if you're using lossy packets, keep sending until you're sure the client knows.)

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!