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

DinoFracture.TransferJointsOnFracture Class Reference

When this object is fractured, the joint component on the object will be copied to this piece if this piece is sufficiently close to the joint position. Without this component, joints are broken after fracturing. More...

Inherits MonoBehaviour.

Public Attributes

Transform IncomingJointsSearchRoot
 The tree to crawl in search for joints of other objects that need to be transferred to this joint. This search root should be as scoped as possible.
 
float DistanceTolerance = 0.05f
 How close this object must be to the joint in order to transfer. The larger the number, the more pieces will have joints transferred.
 

Detailed Description

When this object is fractured, the joint component on the object will be copied to this piece if this piece is sufficiently close to the joint position. Without this component, joints are broken after fracturing.