VEX Dictionary / planesphereintersect
planesphereintersect
Computes whether a sphere intersects an infinite plane, returning the intersection circle's center and radius.
group: mathintersect
Available in every context
Usage
int planesphereintersect(vector plane_pos, vector plane_normal, vector sphere_pos, float sphere_radius, vector &intersect_pos, float &intersect_radius, float &intersect_distance)
Examples
No worked examples yet.
Signatures (from vcc -X)
int planesphereintersect(vector, vector, vector, float, vector &, float &, float &)all contexts