Hi, I’m getting a very strange behaviour with SampleMove script fron the character animation sample.
I have an animated character with 2 animations (1 idle and 1 walk cycle); if the animations are not playing the character can be moved around using arrowkeys (ok, it’s a dumb thing but it moves).
If any of the two animations is running (i.e. by setting autoplay), the character doesn’t move anymore: arrowkeys have no effect and the character stays there.
Can somebody help ? What could be wrong ?
Sounds like you are animating the parent transform of the animation in your 3d app. You might need to make your animation a child of a null object and put your character controller on that, sending messages to the child for animation.
Or you could fix the animation file.
That worked; I put the whole character with animations in a new gameobject, that is a child of the main “container” (which also has the characterController). Thanks a lot !