ProtoFlux:Distance From Cone

From Resonite Wiki
Distance From Cone
ConeCenter
*
ConeOrientation
ConeHeight
ConeBaseRadius
Point
Geometry 3D

The Distance From Cone node takes in the cone parameters (size and rotation) and a provided point to check. Then it returns the distance from that cone and that point.

Inputs

ConeCenter (float3)

The center of the cone (located at the center of the base of the cone).

ConeOrientation (floatQ)

The rotation of the cone.

ConeHeight (float)

The height of the cone.

ConeBaseRadius (float)

The size of the cone base's circle radius.

Point (float3)

The point we are checking.

Outputs

* (float3)

Returns the distance between that cone and the point.