Returns a random vector with length of 1, within the specified cone, with uniform random distribution. The shape of the cone can be modified according to the yaw and pitch angles.
Target is Kismet Math Library
X0
Y 0
Z 0
0.0
0.0
X0
Y 0
Z 0
|
Cone Dir
Vector (by ref)
|
|
|
Max Yaw in Radians
Float
|
The yaw angle of the cone (from ConeDir to horizontal edge), in radians. |
|
Max Pitch in Radians
Float
|
The pitch angle of the cone (from ConeDir to vertical edge), in radians. |
|
Stream
Random Stream Structure (by ref)
|
The random stream from which to obtain the vector. |
|
Return Value
Vector
|