Good day everyone!
I want to create a mesh from code to make a selection square for an RTS game.
My first version had the problem that OnTriggerEnter was called every Frame because I rebuild the whole mesh.
Is there any way to modify a mesh(created from code) in the Update function without rebuilding the whole mesh.
To modify the vertices doesn´t work, does it?
Or do you know any other way to select units by a rectangle?
Thanks in advance!