I have a collection of coordinates in XY plane and I want to dynamicly project it on plane defined by normal.
For example:
- normal (0, 1, 0) - coordinates should be located in XZ plane
- normal (0, 0, 1) - coordinates should be located in XY plane (as default)
Original code:
https://pastebin.com/UnH6MJhP
In this case I am creating 2d grid
But same projection calculations should be applied to cirlucar points defined by center and radius (like here Unity - Scripting API: Handles.DrawSolidDisc)
Screens:
What I have missed?