struct
ParticleDepthCollisionSettings
Controls depth buffer collisions for GPU simulated particles.
Public
Constructors
ParticleDepthCollisionSettings
ParticleDepthCollisionSettings() = default
Methods
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Fields
Enabled
bool Enabled
Determines if depth collisions are enabled.
Restitution
float Restitution
Determines the elasticity (bounciness) of the particle collision.
Lower values make the collision less bouncy and higher values more.
Dampening
float Dampening
Determines how much velocity should a particle lose after a collision, in percent of its current velocity.
In range [0, 1].
RadiusScale
float RadiusScale
Scale which to apply to particle size in order to determine the collision radius.