x


Walking looks like gliding when using jerking animation

I have successfully gotten a character to switch from an idle animation to a walking animation depending on if the character is walking or not. I also have been able to vary the speed of the animation to match the speed of the walk (thanks to looking at the 3rd person controller script).

What I am having trouble with is an animation where the walking motion is not smooth. The animation is (intentionally so) lurching and jerking. I have been having trouble getting the animation to sync up with the movement speed where it does not just look like the character is gliding across the ground.

The only solution I have thought of is to basically modify the velocity based on where the animation is. I am thinking of having the script stop motion during the 'lurch' and then when the animation moves on, continue motion again.

My question is just that if people have a suggestion on a better way to do this? Are there other (better) approaches for syncing the timing between translations and animations?

more ▼

asked Apr 23 '11 at 06:03 PM

Richard J. Hansen gravatar image

Richard J. Hansen
187 4 4 12

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

1 answer: sort voted first

The better way to do this (or rather the way I would have done it in the first place) is to make the slowdowns occur in the animation itself, making the lurching character actually fall back a little from the origin point to signify that he's having trouble moving forward. This way you can maintain a constant speed but make it appear like he is lurching.

This is hard to describe, but for instance, let's say you have a standard walk cycle, a natural, normal walk cycle.

You typically animate this on the origin point completely.

For a zombie-like stumble, you might have to "simulate" ground moving beneath him. I recommend putting a texture on a plane and moving it under the character's feet while you animate, and try to match the lurching walk to the placement of the ground, even if you sometimes have to move the character a little backward/forward from the origin due to the irregularity of the walk cycle. This would look really weird as he stands still, but should look perfectly correct when he's actually walking in-game and moving.

more ▼

answered Apr 23 '11 at 06:18 PM

Jason B gravatar image

Jason B
1.7k 29 32 44

I had considered this. However, I am not what you would call good at animating. I just started using blender last week and I'm still not 100% comfortable with just regular walking animations, and was hoping to deal with the syncing on the scripting side (which I am experienced at). However, if no other solutions pop up, I suppose the only way to get better at things is to try, and I will give that a go.

Apr 23 '11 at 07:00 PM Richard J. Hansen

After playing around I am not sure how this can actually work. The lurch does not include a portion where he would speed up. If I have the body 'fall behind' the origin during the walk cycle, wont it require the origin to either constantly be falling further and further back with each cycle, or for something else to snap it forward?

Apr 23 '11 at 09:31 PM Richard J. Hansen
(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:

x3935
x75
x58

asked: Apr 23 '11 at 06:03 PM

Seen: 984 times

Last Updated: Apr 23 '11 at 06:03 PM