Module bending
Expand description
Bounded, zero-heap vegetation instance pool and dynamic collision bending.
Evaluates collider displacement and wind response on vegetation instances,
writing directly into caller-provided GpuInstanceRecord slices for mesh
instancing without heap allocation.
Structs§
- Vegetation
Bending Params - Physical parameters controlling vegetation stiffness, recovery, and wind reaction.
- Vegetation
Collider - A dynamic physical collider (character, vehicle, projectile) interacting with foliage.
- Vegetation
Evaluator - Zero-heap evaluator for dynamic vegetation instances.
- Vegetation
Instance State - Persistent state for a single vegetation instance in the pool.
Constants§
- MAX_
VEGETATION_ COLLIDERS - Maximum number of dynamic colliders evaluated against vegetation per step.