ProtoFlux:Distance From Spherical Sector

From Resonite Wiki
Distance From Spherical Sector
Center
*
Direction
Radius
Angle
Point
Geometry 3D

The Distance From Spherical Sector node takes a point in 3D space and computes the distance from a spherical sector defined by its center, direction, radius, and angle. Then it returns the distance from that sphere.

Inputs

Center (float3)

The center of the sphere.

Direction (float3)

The facing direction of the sphere.

Radius (float)

The radius of the sphere.

Angle (float)

The angle this point and sphere is going to be using for calculations.

Point (float3)

The point we are checking.

Outputs

* (float3)

Returns the distance from the point and the sphere compared with the point given.