0 votes
asked in General Help by

Hi Pärtel,

Im using a particle system that emits from a skinned mesh renderer (shape module in the particle system), and the particles don't emit from the right place while IK is active. The particles continue to get emitted from the animation position. I read your answers to other people with similar problems, but I don't think those solutions apply to my case. Do you have any solution for this? I attached some pictures to show how the particles don't emit from the mesh during IK.

Thanks!

1 Answer

0 votes
answered by (24.4k points)
 
Best answer

Hey,

In this case you will have to disable both the Animator and the IK components and call to update them from Update():

private void Start()

    {

        animator.enabled = false;

        ik.enabled = false;

    }

    private void Update()

    {

        if (ik.fixTransforms) ik.GetIKSolver().FixTransforms();

        animator.Update(Time.deltaTime);

        ik.GetIKSolver().Update();

    }

Best,

Pärtel 

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.

...