Search Unity

Invers Kinematics and Updating Transforms

Discussion in 'Animation' started by GarrettF, Aug 17, 2021.

  1. GarrettF

    GarrettF

    Joined:
    Jul 4, 2019
    Posts:
    42
    Hi, I'm currently working on a third person shooter project in Unity and I've come across a slight issue with using IK. I am using AimIK for my player's weapons (FinalIK) and I am having an issue with the weapon's AimIK and FirePoint transform.

    My weapons move with the aimIK target and it looks really good, like I want it to, but the Projectile spawn point (FirePoint) of the weapon does not get updated with the AimIK. I think it is due to the IK being updated in LateUpdate and not update but I'm really not sure.

    I figure this is probably a common issue since IK is widely used but I can't find very much information regarding this exact issue. I'm relatively new to this so if anyone has any experience or ideas on how to solve this any help would be appreciated.
     
unityunity