Marquee selection

Hey guys :wave:.
I need to implement marquee selection (box selection, rectangle selection).
Deltakosh’s idea I found:

Idea looks goot to me, but instead of boundingboxes, I want to project edges of meshes and check if any edge is being inside rectangle selection.
My problem is that I am not familiar with projection at all :slightly_frowning_face:.
Right now I am reading about this and will apprectiate any tips.

You can use the Vector.Project / ProjectToRef method to project a 3D vertex to screen space:

2 Likes