x


Feet penetration with Locomotion system

Hi All,

I have problems using Locomotion system. I currently use Unity 3.4.2 Pro.

Anyway I have this bug character and terrain with hills and vale and the bug's legs penetrate the terrain ground when walking. I add charachter controller to mu bug and of course leg controller and leg animator scripts. I set the legs in Leg controller script. Are the green rectangles (in the Leg section in Leg controller scripts) represent colliders? So why my feet penetrate to thr ground?

Thank u in advance

more ▼

asked Dec 24 '11 at 10:04 PM

eyal gravatar image

eyal
157 42 51 57

It's hard to guess what the problem might be without a clearer description. It would be best if you could post a video screen capture showing what it looks like (with gizmos/colliders shown).

Dec 27 '11 at 12:50 PM runevision ♦♦

I have 2 screenshot that might make my problem more clear. Where I can upload it?

Dec 28 '11 at 05:36 AM eyal
Dec 28 '11 at 06:33 AM asafsitner

Thank! I upload it at http://i.imgur.com/V5IoS.jpg http://i.imgur.com/5DTT1.jpg

can u please help to figure what my problem is?

Dec 28 '11 at 06:52 AM eyal

You didn't post a video, and it's still hard to say what the problem is. But I would guess that the raycasts are not hitting the ground. What layer is your terrain in and what have you set the Ground Layers setting in the LegController to?

Jan 01 '12 at 03:23 PM runevision ♦♦
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

Your feet could be penetrating the ground because the character controller isnt big enough. It may look big enough when the animation isnt playing but when the animation is playing their is a chance the legs stick out of the character controller.

more ▼

answered Dec 24 '11 at 11:39 PM

DGArtistsInc gravatar image

DGArtistsInc
269 8 15 19

I increased the radius of my chracter controller and that didn't help :(. Moreover now my character if floating when entering a vale...please help me

Dec 25 '11 at 05:00 AM eyal
(comments are locked)
10|3000 characters needed characters left

This might be a stupid question but have you enabled "Use IK" in the Animation Controller Script?

Without this the Locomotion System only uses velocity to determine animation.

more ▼

answered May 28 '12 at 11:54 AM

Benproductions1 gravatar image

Benproductions1
1.7k 6 13

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

Here arto 2 screenshoots :

alt text alt text

As u can see the legs don't follow the ground using Locomotion system any ideas?

Thank u in advance

more ▼

answered Dec 28 '11 at 09:51 AM

eyal gravatar image

eyal
157 42 51 57

(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:

x18

asked: Dec 24 '11 at 10:04 PM

Seen: 913 times

Last Updated: May 28 '12 at 11:54 AM