Search Unity

Can't move gun with animation along with the camera

Discussion in 'Animation' started by Joaken, Aug 29, 2021.

  1. Joaken

    Joaken

    Joined:
    Jul 25, 2020
    Posts:
    2
    I am making an FPS, and I'm having a problem where the player has animations that also affect the gun.

    The player model I'm using came with the gun childed under the player, and all player animations are linked to the gun.

    Because of this, when I try to put the gun childed under the camera, the animation from the player does not let my gun move along with my camera. Is there any way to override the position of the weapon and make it move along with my camera?
     
unityunity