x


Character Controller doesn't move with animations

Hi, I have a bunch of animations that I used for one character. Now, whenever each animation plays, the character controller doesn't move with the animation. Is there anyway I could fix this in Unity or do I have to use blender to fix the centering of the animation?

more ▼

asked May 19 '10 at 07:08 PM

Helpmepls123 gravatar image

Helpmepls123
37 4 4 9

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I suggest you change it in Blender. It's generally recommended that Animations such as Walk, stay in one place. To quote from a forum post, Animation resets Character Controller:

"You don't want to animate things moving. You want to animate what they look like while they move. For example, a character walking is animated walking in place, not forward. To have a character walk, you play the 'walking in place' animation while the character controller moves forward, that's how a character walks forward."

And you move the Character Controller by an attached FPSWalker script.

more ▼

answered May 19 '10 at 07:16 PM

Cyclops gravatar image

Cyclops
7.1k 33 63 115

Yeah I guess that will do. Thanks :)

May 21 '10 at 01:09 AM Helpmepls123
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1043
x520
x222

asked: May 19 '10 at 07:08 PM

Seen: 3054 times

Last Updated: May 19 '10 at 07:08 PM