Explosions

tjloughl
Posts: 23
Joined: Wed Oct 03, 2007 4:03 am

Explosions

Post by tjloughl »

Hello,
I am wondering what the best way to do explosions is. Right now, I am creating a kinematic sphere with an intially small radius. Then, each step I setMargin with a slightly bigger margin.
The problem is that this only collides with certain objects. I'm not sure what the problem is.
THANKS
TJ
dreamtheater39
Posts: 13
Joined: Sat Nov 10, 2007 8:39 pm

Re: Explosions

Post by dreamtheater39 »

tjloughl wrote:Hello,
I am wondering what the best way to do explosions is. Right now, I am creating a kinematic sphere with an intially small radius. Then, each step I setMargin with a slightly bigger margin.
The problem is that this only collides with certain objects. I'm not sure what the problem is.
THANKS
TJ
Wouldnt it be simpler and cleaner to apply a relative outward impulse force to all objects within the radius?

San
tjloughl
Posts: 23
Joined: Wed Oct 03, 2007 4:03 am

Re: Explosions

Post by tjloughl »

This is the way I will probably do it, but the scaled sphere was my first attempt.
Thanks