Intersection of a Plane and an object
Hi! So i'm looking for a way to find a set of points representative of the intersection of a plane and an object, and beeing able to work with this set of points informations.
The final objective is to show the user where an object can move on a terrain with a maximum travel distance. So, after a quick chat with some friends, the best way to build this seems to use a certain amount of verticals planes (or just one rotating plane), which all have in common the start point of the object, and then find the intersection of theses planes with the terrain (a low poly layer of the terrain to make the calculations easier), then on each intersections obtained, simply calcul a perimeter to find the most distant point on theses, and finally, interpolate theses differents point to build the estimation layer.
In this diagram, it's almost simplifiable by a circle because the terrain is mostly plane, but it's more destined to complex terrain of course ! Also, I precise "considering intersection perimeter" because it's not the point with a distance x from the start point considering the space referential, but the distance x following the intersection perimeter.
The idea is there, my unity knowledge : not '^^ I'd love get your advices and ideas !
Your answer
Follow this Question
Related Questions
Circle-line Intersection Points 3 Answers
Unity plane constructor bug? 1 Answer
Find "real" rotation of box mesh 0 Answers
Hexagonal geodesic map 0 Answers
Detecting if line cuts Polygon 1 Answer