Box#2 PhysX Glue & Fracturing Examples

Here are a few simple examples of fracturing with PhysX Glue.

Open the File – Max2009_Box2_GlueFractureEX

Turn on Event01, bake and playback.

Event01

This is the simplest system it merely relies on the PhysX World gravity itself to pull the structure down. Glue binds all of the particles, the difference in values between the Max Force and Torque can give interesting results. Large Force values with low torque values give the effect of a twisting type of failure.

Disable Event01 and enable Event02, Bake, and playback

Event02

This system is a little more complex. The use of the PhysX Switch enables the particles shape to stay in place using the Anti-Gravity parameter. The particle shapes are then age tested out with some randomness into the next event where gravity begins to pull down the structure, any pieces left in the first event are pulled into motion via their glue binds.

Disable Event02 and Enable Event03, Bake, and playback

Event03

This is the most complex of the four examples. It uses the PhysX Switch + Anti-Gravity and PhysX Solvent to control the fracturing. As the PhysX Solvent Icon moves through the structure it begins breaking the Glue binds. You’ll notice some binds break before the Icon reaches them in fact the Icon doesn’t go near them they break under their own weight, giving a crumbling appearance (this can be alleviated by increasing the Max Torque param in the Glue settings). As the Binds break then particles are passed to the next event and given a little bit of Wind via the PhysX Force operator for some subtle variation and of course gravity from the PhysX World.

Disable Event03 and Enable Event04, Bake, and playback

Event04

The final example relies on a pulse of wind to start the structure in motion. This system has much high Breakability values in comparison with the previous three examples. Having these higher values and no Wind spacewarp the structure would simply just stand there waiting for something to happen. So we hit it with a high burst of wind.

Nice and Simple, I hope it is of use.

No comments yet.

Leave a comment

Search

 

Archives