Search Unity

Character model.

Discussion in 'Animation' started by BluesyPompanno, Dec 10, 2017.

  1. BluesyPompanno

    BluesyPompanno

    Joined:
    Jan 1, 2017
    Posts:
    37
    Hello I'd like to ask how to create a character that would react to a gun.

    Let's say i have a character created and animated in blender ( walk,run,idle animations ) the character has Inverse Kinematics applied to legs.

    How could i create it so that when i create a gun in Unity and animate it inside Unity.
    arms of the character move with the animations ?

    For example the relowding animation of the gun plays -> characters arms will move with the animation of the gun or when the player is shooting, make the arms react to recoil of the gun.

    I am using free version of Unity.

    Could somebody help ? or point to a video or website ?
     
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Your thought process for this is reverse/backwards.
    Instead the animation should be on the character - and the gun parts should follow the hands of the character, not the other way around.
    The hands IK are used to help create the animations (externally) and the gun parts will be parented to the hand bones in Unity. Animate/script parent changes in Unity so the magazines will swap from gun to left hand to belt to left hand back to gun. etc etc
     
    BluesyPompanno likes this.