Explosion with Bullet Physics

By , last updated January 2, 2016

There are many ways to implement a physics based explosion. With Bullet Physics there is such thing as btPairCachingGhostObject. Another option is to use contactTest queries. Here’s a discussion thread about these methods.

In our game we’ve used a much simpler method: inserting a physics sphere with double radius and then removing it from the scene after 100 milliseconds. This gives necessary impulse to all overlapping our sphere objects without any additional calculations.

Senior Software Engineer developing all kinds of stuff.


Be the first to comment.

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>