animation.

hello,

i have a firstperson controller and a animated model. the model is totally controlled by a script and an animator. but whin i go in play mode, walking works fine. but whn i start to run (run animation lshift + w) the model slowly moves out of the character controller. each time i press lshift+w the model moves out a little bit. see pictures below:

before pressing shift.

after pressing shift 5 times.

do i have to change something in the animation or how can i hold the model in the same place all the time?

If I had to guess from the image I would say that you have animated the hip as the base transform rather than the root transform.
Here is a video series I have been putting together that may help:

thanks for your reply will check it out!