x


how do i break apart a 2d car when it collides with another object?

i have a 2d car (2 wheels, 2 wheel colliders and a rigidbody with a collider on it) how can i make it break apart when it hits another object (ie the ground or a wall) with force?

more ▼

asked Jan 29 '12 at 02:38 AM

jmh gravatar image

jmh
-4 5 7 8

Set each wheel's parent to 'null', and give them active rigidbodies.

Jan 29 '12 at 04:21 AM syclamoth

that would just make the whole thing fall apart straight away, i need it to move as one then break apart if it crashes into something?

Jan 29 '12 at 08:11 PM jmh
(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:

x1686
x1034
x764
x101

asked: Jan 29 '12 at 02:38 AM

Seen: 713 times

Last Updated: Jan 29 '12 at 08:11 PM