Search Unity

Is the Animator component compatible with CharacterController?

Discussion in 'Developer Preview Archive' started by agentsmith, Oct 17, 2012.

  1. agentsmith

    agentsmith

    Joined:
    May 1, 2010
    Posts:
    132
    Hey everyone,

    I have a character who has an Animator component and a CharacterController. The script I'm using is from the Unity Docs:

    http://docs.unity3d.com/Documentation/ScriptReference/CharacterController.Move.html


    If I attach a script with the above code to my character who only has an Animator CharacterController component he will not move. If I disable the Animator component then he will move without any issues.

    I only have one animation in the Animation Controller (state machine). Anyone else having this issue?
     
  2. agentsmith

    agentsmith

    Joined:
    May 1, 2010
    Posts:
    132
    Sorry I had "Apply Root Motions" checked... Once unchecked it moved without issues.