DinoFracture 2.11.1
A Dynamic Fracture Library
Loading...
Searching...
No Matches

DinoFracture.PreFractureOnStart Class Reference

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.

Collaboration diagram for DinoFracture.PreFractureOnStart:
[legend]

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.
 

Detailed Description

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.