x


How can I make rigidbodies react cleanly to the character collider?

What happens is this: I have a rigidbody box that gets kicked around the level. When the box is sitting on the ground, my character controller can't move it (which is to be expected, and is exactly what I'm looking for) but if the rigidbody is still in the air, my character controller pushes it around. This includes pushing it across the level just millimeters above the ground and pinning it against a wall until the CC passes through and the box goes flying off in the opposite direction. Obviously, to have a box that is immovable when sitting on the ground, yet like a beach ball when in the air, is less than desirable.

I understand why it's doing this. It makes sense, it's just not desirable. Ideally, I'd like the CC to have little to no effect on the box. Is a rigidbody CC a solution? I'd rather avoid them if possible. Any ideas?

more ▼

asked Jul 15 '10 at 03:12 PM

Dan 5 gravatar image

Dan 5
3 4 4 4

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

1 answer: sort voted first

Ah ha! The configurable joint seems to be the culprit. Though, I'm not sure why the joint behaves this way when a rigidbody without one behaves properly...

more ▼

answered Jul 15 '10 at 03:20 PM

Dan 5 gravatar image

Dan 5
3 4 4 4

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

x1865
x1780
x669
x160

asked: Jul 15 '10 at 03:12 PM

Seen: 1233 times

Last Updated: Jul 15 '10 at 03:12 PM