Skip to content

Random Get Point In Ring

Gets a random point inside or along a ring defined by an inner and outer radius.
Optionally applies a falloff curve to bias how points are distributed between the inner and outer edges.

Use it to spawn objects, effects, or particles in circular bands - for example, rings of fire, aura zones, or orbiting object distributions.

Parameters

Parameter Description
Center The world-space center of the ring.
Inner Radius The inner boundary of the ring. Points are never closer than this distance from the center.
Outer Radius The outer boundary of the ring. Points are always within this distance from the center.
Falloff (Optional) An AnimationCurve that defines probability distribution between inner and outer radii.
x: 0 = inner radius, 1 = outer radius.
Higher y near x = 0 concentrates points near the inner edge; higher y near x = 1 pushes points toward the outer edge. Leave unset for uniform distribution.
Store Result Vector2 variable to store the random world-space point.

Falloff

Biased to inner radius:

NormalCurve

Normal curve around center:

NormalCurveCenter

Biased to outer radius:

NormalCurveInverted

Tips

  • Uniform distribution: Leave Falloff unset for an even spread across the ring’s area.
  • Inner concentration: Use a curve peaking near x = 0 to cluster points near the center edge.
  • Outer concentration: Use a curve peaking near x = 1 to form a ring concentrated at the edge.
  • Inner ≥ Outer: Automatically clamps to produce a circle at the given radius.
  • Combine with angle-based logic: Useful for effects like radial bullet rings or halo spawns.

Common Pitfalls

  • Negative radius: Automatically clamped to 0.
  • Reversed radii: If Outer Radius is smaller than Inner Radius, the action corrects it internally.
  • Extreme falloff curves: Overshooting above 1 may distort the expected distribution.

See Also