0 votes
asked in General Help by
edited
Is it possible to reuse a IK calculation i.e. save the solution for a given frame, and submit it to other players in a multiplayer game, so other players can use it?

So if 10 players are aiming at you, I would not take their aiming direction over the network and calculate the IK solution 10 times for each player on my computer every frame.

But from each player I would get an array of joint rotations (aka already precalculated solution) and feed it to the IK subsystem to adjust the mesh aiming animation correctly for every given player.

Thanks

1 Answer

0 votes
answered by (3.2k points)
Hey,

Yeah, you could do that. If you send over only the localRotations of the bones used by AimIK and apply them to the remote instances. Just keep in mind to read the localRotations after the IK update. You can use the ik.solver.OnPostUpdate delegate for that.

Welcome to RootMotion Q&A, where you can ask questions and receive answers from the developer of Final IK and PuppetMaster and other members of the community.

Post as a guest, create an account or login via Facebook.

Please use the correct category when you post your questions.

...