x


Make something immovable to collision

How do I make a gameobject impervious to collision? Stuff bounces off it but it does not move. Temporarily I made it move massive, but that doesn't totally work after multiple collisions.

Thank you.

more ▼

asked May 05 '10 at 12:38 PM

rd42 gravatar image

rd42
296 30 37 46

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

2 answers: sort voted first

Instead of making the immovable object a rigid body and a collider, I just made it a collider and that worked.

more ▼

answered May 05 '10 at 01:10 PM

rd42 gravatar image

rd42
296 30 37 46

Great that you found a good solution! That solution works great when you don't need the rigidbody. An alternative for people who prefer to keep the rigidbody is to make the rigidbody kinematic.

May 06 '10 at 08:20 AM runevision ♦♦

Thanks! I didn't think of kinematic.

May 06 '10 at 01:06 PM rd42
(comments are locked)
10|3000 characters needed characters left

Could you explain precisely how you did this? What settings are required? Setting isKinematic makes everything fly through each other anyway, nothing collides.

more ▼

answered Jun 21 '10 at 02:39 PM

Khas gravatar image

Khas
12 1

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

x3738
x2495
x1999
x277
x1

asked: May 05 '10 at 12:38 PM

Seen: 1662 times

Last Updated: May 05 '10 at 12:38 PM