x


Box/mesh collider

Hey guys, I have a pretty simple question I think.

My playable character is a box collider and my ground is a mesh collider. My player freaks out when its on the mesh collider. What would be the easiest way to get around this? I'm assuming it's going to be a script related problem.

Thanks!

Edit: To be more specific, I'm trying to create basic physics. I want one object with a higher momentum to hit an object with a lower momentum, and have the lower momentum object bounce back. When I just had a char cont. nothing happened when I hit the other objects. I added the box collider and now they move when I hit them but my playable char is bouncing around as I move. The playable char is just a cube right now btw.

more ▼

asked Apr 07 '11 at 08:05 AM

Jneumann2 gravatar image

Jneumann2
3 2 3 8

Did you use the character controller from the standard asset? If you did I don't think there would be a problem.

Maybe you could give an idea of what you want to accomplish in the end? Like is he going to just stand there? =)

Apr 07 '11 at 08:10 AM Nolirneen

"Freaking out" isn't very descriptive. Is this a custom script, or a controller already in unity? Perhaps your character is trying to walk up a slope (or mesh) that isn't allowed by your controller?

Apr 07 '11 at 08:16 AM FreeTimeDev

What is: around the mesh collider? Is your character really so big that it surrounds the mesh collider for the ground?

Apr 07 '11 at 08:19 AM Marnix
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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:

x1690
x1359
x161

asked: Apr 07 '11 at 08:05 AM

Seen: 1144 times

Last Updated: Apr 07 '11 at 08:27 AM