ProtoFlux:Random Point In Cone

From Resonite Wiki
Random Point In Cone
Height
*
BaseRadius
Point

The Random Point In Cone node takes in a height and a base radius, then returns a random float3 value of a point in a cone (taking into account the height and the base radius provided, exclusive).

This node constantly changes its value every frame, if you want to use this value, make sure to either Write to a Variable or use it within that frame.

Inputs

Height (float)

The height of the cone (tip side).

BaseRadius (float)

The size of the circle base of the cone.

Outputs

* (float3)

The random result.