ProtoFlux:Distance From Cone

From Resonite Wiki
Revision as of 20:07, 2 July 2024 by AmasterAmaster (talk | contribs) (Created a page for the Distance From Cone node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.