Expand description
Force fields applied to particles: gravity well, vortex, turbulence, wind zone, attractor/repulsor, drag, buoyancy. Supports force composition and tag masking.
Structs§
- Attractor
Repulsor - Simple point attractor or repulsor (alias over GravityWell with cleaner API).
- Buoyancy
Field - Buoyancy force: applies upward lift inversely proportional to particle density.
- Drag
Field - Linear drag: decelerates particles proportional to their speed.
- Force
Composite - A group of force fields evaluated together with a blend mode.
- Force
Debug Sample - Debug information about forces acting on a particle at a given point.
- Force
Field - A single force field entry in the world, combining a field type with metadata.
- Force
Field Id - Force
Field World - Global registry for all force fields active in the world.
- Force
Presets - Convenience constructors for common force-field scenarios.
- Gravity
Well - A gravitational well that pulls (or repels) particles toward a point.
- Turbulence
Field - Pseudo-random turbulence using a value-noise approach on a 3D grid.
- Vortex
Field - A spinning vortex that imparts tangential force around an axis.
- Wind
Zone - A directional wind zone, optionally bounded to a box region.
Enums§
- Attractor
Mode - Falloff
Mode - How a force field’s strength falls off over distance.
- Force
Blend Mode - Blend mode when combining multiple force fields at the same location.
- Force
Field Kind - The concrete force implementation.
- TagMask
- Determines which particles a force field affects.