Voxels destruction

I started a physics engine in order to manage the game level destruction. The impact of player’s missiles generate a hole in world created by boolean operation with a sphere. Then for each not empty voxels at the surface of the sphere, I generate a debris. Each debris are managed as a particle with a velocity, a time of life and a numbers of bounces with the environment.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s