0 votes
asked in FullBodyBipedIK by (120 points)
edited by

Hi, I'm making a server authoritative multiplayer FPS and the game logic is something like this

------------------

void FixedUpdate(){

// Move characters

// Play Playable animation

// FBBIK.Update/Solve()

// Collect world snapshot

}

------------------

This sequence could ensure that all hitboxes are shown at the same position on all machines. However, I can't find such a function to make FBBIK update its solver manually. I guess I could use FBBIK.solver.Update(), but the doc said "Use only if this IKSolver is not a member of an IK component or the IK component has been disabled and you intend to manually control the updating", so I'm not sure if it fits my case, please help.

1 Answer

0 votes
answered ago by (15.2k points)

Hey,

Yeah, just disable the component in Start():

ik.enabled = false;

...then call

ik.solver.Update();

...in FixedUpdate().

Best,

Pärtel

commented ago by (120 points)
Thank you :D

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.

...