PointAttractor Class
Definition
Namespace: Brine2D.Systems.Rendering
Pulls or pushes particles toward/away from a world-space point.
Inheritance System.Object → PointAttractor
Implements IParticleForce
| Properties | |
|---|---|
| MinDistance | Minimum distance at which the force is clamped to avoid singularity blow-up when a particle is very close to the attractor. Default 1 unit. |
| Position | World-space position of the attractor. |
| Strength | Acceleration magnitude in units per second squared. Positive values attract; negative values repel. |
| UseInverseSquare | When true, force falls off with the square of distance \(inverse\-square law\). When false \(default\), force magnitude is constant regardless of distance. |