Shatters
About
Objects in a level can be shattered with ease when touched by skater, or when an action is performed on them.

This effect is typically used on crates, barrels, barriers, and other destructible objects. Setting this effect up in NXTools is easy, and is handled by a simple script preset.
Setup
In NXTools, select your object.

Find the NXTools Settings panel inside of the Object tab on the right.




Set the object's Trigger Script preset to Shatter.




Touching or interacting with this object will now cause it to shatter into pieces.
Parameters
The Script Settings window contains various options that affect the shatter.

Shatter Area
Undocumented. Affects density of the shards created when the object shatters.


Shatter Variance
Undocumented. Affects density of the shards created when the object shatters.


Shatter Spread
Undocumented. Affects density of the shards created when the object shatters.


Shatter Velocity
Undocumented. Affects density of the shards created when the object shatters.


Shatter Sound
The sound played when shattering the object. If this field is left empty, no sound will be played.

For windows or glass objects, HitGlassPane2x can safely be used. This is a global sound.

In NXTools, custom sounds can be used in this field. Make sure to use the name of the sound as defined in the Level Sounds panel.