Random Point On Sphere

Pure
RandomPointOnSphere

Returns a uniformly distributed random point on the surface of a sphere.

Type: Pure (no side effects)
Category: Fortuna|Vector & Transform
Keywords: vector & transform

Inputs

NameTypeDefaultDescription
SphereCenterFVectorSphereCenter parameter
SphereRadiusfloatSphereRadius parameter

Outputs

NameTypeDescription
ReturnValueFVectorReturnValue output

Example Use Cases

Example 1

Spawn effects around a character evenly.

Example 2

Random direction for an explosion impulse.