Represent the plane of intersection of two spheres in Unity 3D

26 Views Asked by At

I have two spheres in unity on an xyz plane. They each have known centers and radii. I know to find the plane of intersection of two spheres, you subtract each equation. Ex:

Sphere 1: 4 = (x-1)^2 + y^2 + z^2
Sphere 2: 1 = (x+1)^2 + (y-1)^2 + (z-1)^2
Plane of intersection: 0=-4x + 2y + 2z - 5

enter image description here

How do I turn the plane of intersection defined by 0=-4x + 2y + 2z - 5 into an actual plane in Unity? My math knowledge is very limited. Any help would be much appreciated.

Thank you for reading

0

There are 0 best solutions below