0 votes
asked in AimIK by
I have been messing around with the clamp weight and smoothing but can't get it so that it is always pointing at the look direction , there is always a slight delay in the weapon when performing fast rotation movements.  How can we set the aimIk and look IK to not lag the look at point at all ?

1 Answer

0 votes
answered by (10.3k points)
Hey,

Make sure your IK (including all the values you feed into the IK solvers) runs after all the rotating code.

So if you rotate the camera in LateUpdate and the shooting target is relative to camera rotation, you IK code needs to run after that. So use LateUpdate and add that script to the Script Execution Order to a higher value than you camera script.

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.

...