Multiple selection by mouse cursor
I wonder how to make multiple selection by cursor. I ve made simple line trace which alows me to select single object,(anyway I am using mouse overlap events instead). Now I am trying to make some sort of box using mouse which allow me to select few units on map, I were trying smth with muli box trace but i dont know how to convert my camera location and cursor location for parameters to this function. Any solutions ?
Hey, look at the Answer of this Question. He gave a pretty good example on how to achieve this.
He converst the 3D Space to 2D and checks if the positions are inside the retangle. You can see all his Blueprints and a small Code snippet for the test in his answer:
If you don't want to code, you can make his C++ function in Blueprints too. Just some branches that check if a number is higher or lower than another.
If you need help, just ask me (:
answered Dec 26 '14 at 01:36 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here