Function GeometrySingleton.segmentIntersectsSphere
Checks if the segment (from
, to
) intersects the sphere that is located at sphere_position
and has radius sphere_radius
. If no, returns an empty PoolVector3Array
. If yes, returns a PoolVector3Array
containing the point of intersection and the sphere's normal at the point of intersection.