Skip to content

InSphere

Description

InSphere is a Function on Random
Returns a random point inside a 3D sphere of a given radius.

Example
local testVariable = Random.InSphere(1.0)
Usage

network usage: Any (Client or Server/Host)
returns: Vector3
parameters:
- radius (float)