![]() |
ezEngine Release 25.08
|
Represents a point in world space, where the breakable slab should be shattered. More...
#include <JoltBreakableSlabComponent.h>
Public Attributes | |
ezVec3 | m_vGlobalPosition |
ezVec3 | m_vImpulse |
With which impulse to push aways new, dynamic shards. | |
ezUInt32 | m_uiShardIdx = ezInvalidIndex |
Which shard to break apart. | |
float | m_fImpactRadius = 0.05f |
The size of the shatter point. Only relevant for some patterns. | |
float | m_fCellSize = 0.4f |
For the cellular (voronoi) pattern, how large to make cells. | |
float | m_fMakeDynamicRadius = 0.25f |
In what radius around the shatter position to always make new shards dynamic. Unsupported shards will become dynamic regardless. | |
ezUInt8 | m_uiAllowedBreakPatterns = (ezUInt8)ezBreakablePattern::Cellular |
With which pattern to potentially break the shard. | |
Represents a point in world space, where the breakable slab should be shattered.