Rocks!

Rademanc
Posts: 11
Joined: Mon Nov 02, 2009 11:55 am

Rocks!

Post by Rademanc »

Hi. I am a bit new to bullet, so I don't know if what I want to do is possible.
I need to simulate a vehicle that chips away rocks from a rockface. It has a thing like a spade at the end. I want smaller rocks to fall away easily when they get impacted by the spade. Larger rocks will either fall away completely or crack and fracture up into smaller chunks. Some of the smaller chunks will have to stay stuck to the face or other rock they were glued to. I was thinking about doing a simple glue-constraint for each rock. I was thinking of doing a radius check each time the spade collides. Then weaken all the glue-constraints in that radius. Once the glue constraint is weak enough, I will make the rock dynamic, and it will fall to the ground. Now I see from another post that you can use a ghost object to determine all the objects in a radius. But that it is best not to move it. With my idea, I will have to move it each time the spade collides. Will this be too expensive?

I also understand that you are working on a glue/fracture feature. This sounds like what I need.

Thanks in advance.