This will pre-fracture geometry at runtime when this script starts. Such behavior is useful when you want the benefits of pre-fracturing (no runtime cost when the object is actually fractured) without the extra package overhead. More...
Inherits MonoBehaviour.
Public Attributes | |
PreFracturedGeometry | PreFracturedGeometry |
The fracture geometry to pre-fracture. | |
Vector3 | LocalFracturePoint |
Optional local point to fracture. Only used if the Fracture Size on the fracture geometry is not zero. | |
This will pre-fracture geometry at runtime when this script starts. Such behavior is useful when you want the benefits of pre-fracturing (no runtime cost when the object is actually fractured) without the extra package overhead.
It is best to use this script during a level loading screen if pre-fracturing with a lot of pieces.