#Hybrid Root Motion Animations with Prediction

1 messages · Page 1 of 1 (latest)

cunning raptor
#

As title we want to achieve root motion movement with animations in hybrid setup, this to make use of other tooling like IKs, lattice, cloth physics etc.

I was looking at the NetCode samples where there is XXb_ServerSideAnimation sample, but it seems to be based on creating a sync point to fetch data on main thread and do PlayableGraph.Evaluate(). I've not used Playables before, but do I understand correctly that this has to run from the main thread?

If anyone has any experience with this, happy to hear your thoughts. Also considering alternative doing ECS animations and mirror over to GO.

calm dagger
#

Of course this is the main thread

#

In fact, Playables have a huge range of features in the context of Netcode for entities. I used Playables to make characters animations, sounds, and particles work from 1 ghost component with 2 ints

#

But for root motion, you will need to come up with some kind of your own solution so that it works adequately at least with colliders

#

There probably won't be any difficult problems with the rest