BlueprintAPI > BlueprintAPI/Math > BlueprintAPI/Math/Random
Returns a random vector with length of 1, within the specified cone, with uniform random distribution.
Target is Kismet Math Library
Inputs
Type | Name | Description |
---|---|---|
struct | Stream | The random stream from which to obtain the vector. |
vector | Cone Dir | The base "center" direction of the cone. |
real | Cone Half Angle in Radians | The half-angle of the cone (from ConeDir to edge), in radians. |
Outputs
Type | Name | Description |
---|---|---|
vector | Return Value |