First i want to thank you very much. Its awesome that ppl like you are so kind and take their time to help others.
I’ve been analysing your code and except a little thing i think it should work.
After: if N is not empty:
Add N to A, if they are not already in AND if they are in U.
So thank you very much, i have no an idea of what i want to do😊. A few questions in my mind right now are:
- All these vectors are stored in geometry.attributes.position.array. When i now click on the object, i have to somehow get nearest triangle. I have to think about it tomorrow again, but right now (at midnight) i dont know how
(I think the solution of this question should be easy)
- When i have a triangle (3 vectors in my array), where are my x neighbors? How can i know how many i have? This questions seems kind of hard… maybe some vector dimensions have to be similar… but the search algorithm would take quite alot of time to go through every triangle, wouldnt it?
Thank you again!