x


Target Range Situation

Hello,

I'm working on a little project, basically its going to be a target range.

Right now I have 3 targets (cubes) that are animated, so they are moving side to side. I have the ability to shoot spheres at them.

What I want to happen is that the cubes fall down when I hit them (topple over).

Few problems I'm having:

  • I when I hit the cube, it doesn't fall down like its suppose to, it just gets pushed back.
  • I tried working with hinge joints, so when I shoot it - it topples over correctly, but it goes crazy when I have the animation on.

Could someone give me some advice, I would be very grateful.

more ▼

asked Aug 03 '11 at 10:33 PM

oliver-jones gravatar image

oliver-jones
2.5k 207 226 257

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

1 answer: sort voted first

Use a hinge joint, but instead of animating the cube, make a second, kinematic, collider-less rigidbody to connect the hinge to, and animate that other rigidbody instead.

more ▼

answered Aug 04 '11 at 01:38 PM

sneftel gravatar image

sneftel
1.7k 7 9 20

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

x1948
x330
x111
x16

asked: Aug 03 '11 at 10:33 PM

Seen: 527 times

Last Updated: Aug 04 '11 at 01:38 PM