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

DinoFracture.FractureOnParticleCollision Class Reference

This component will cause a fracture to happen at the point of impact with a particle. More...

Inherits MonoBehaviour.

Public Attributes

float VelocityThreshold
 The minimum velocity of incoming particles required to fracture this object. Set to 0 to have any amount of velocity cause the fracture.
 
float ParticleMass = 1e-4f
 The mass of an individual particle to allow transferring of forces to the fracture pieces. If zero, no forces will be transferred.
 
float ForceFalloffRadius = 1.0f
 Falloff radius for transferring the force of the impact to the resulting pieces. Any piece outside of this falloff from the point of impact will have no additional impulse set on it.
 
LayerMask CollidableLayers = (LayerMask)int.MaxValue
 The collision layers of the particle system that are allowed to cause a fracture.
 

Detailed Description

This component will cause a fracture to happen at the point of impact with a particle.

Note: Particle collisions won't be activated unless "Send Collision Messages" is checked.