ProtoFlux:RaySphereIntersection: Difference between revisions

From Resonite Wiki
Created a page for the Ray Sphere Intersection node.
 
m YoshBot moved page ProtoFlux:Ray Sphere Intersection to ProtoFlux:RaySphereIntersection: Automated: removing spaces from ProtoFlux namespace
 
(No difference)

Latest revision as of 00:32, 21 August 2025

Ray Sphere Intersection
Center
Point
Radius
IsIntersecting
RayOrigin
RayDirection
Geometry 3D

The Ray Sphere Intersection node takes in ray paremeters and sphere parameters, and finds then returns an intersection at a point as well as if it intersected at all.

Inputs

Center (float3)

The center of the sphere.

Radius (float)

The radius of the sphere.

RayOrigin (float3)

The starting point of this ray.

RayDirection (float3)

The direction this ray will aim at.

Outputs

Point (float3)

Returns the sphere intersection value.

IsIntersecting (bool)

Returns if this ray is intersecting this sphere.