Problems of Locomotion

Hi,

I’ve played around Unity locomotion for a while and have some problems with it.

I have 3 different characters. One worked well with locomotion but the other 2 didn’t. I know the successful one has different rig compared with the fail ones. But the walk cycle of these 3 characters all work well in Unity if not applying the locomotion to them, which means that the animation itself should be fine.

The fail ones have the same problem. When I direct the character to walk, it looks like the upper body is dragging the lower body. The legs seem that they are going to walk forward but they can’t catch up the upper body in time.

I tried different joint setting in the Leg Controller and other variables control. It only gets worse.

Does anyone have the similar problems? Does the Unity locomotion system require some particular rig or hierarchy requirement?

Thank for any suggestion. I really appreciate it. :slight_smile:

ok…I’ve solved this but have no idea why this works.

The solution is just added a dummy node on top of 2 legs bones. I think probably locomotion has some kind of hierarchy requirement though.

However, I notice another issue. I found that if I put a character in a scene with lots of complex geometries (ex: trees). The locomotion doesn’t run very well. I let the character walk back and forth on the same route. It’s good in the beginning but the character would start to sink a bit after walking a while.

I’m not sure that is because too many details on the scene will affect the locomotion calculation or some other reasons.

Any one has ideas?

ok…i finally found the sinking issue is not because of the locomotion itself but the “Shadow” thing.

If I turn on the shadow effect and play it without moving the character and mouse, few seconds later, the terrain (now I use the Island scene) will go up a bit. So the character will look like he sinks.

If I didn’t cast any shadow in the scene, the terrain remain still.

Please let me know if this problem sounds familiar to you or if I miss something.

Thanks. :slight_smile: