So, I'm in the middle of making an RTS game. I have a script that places a "selection" part/box on the ground when I click, which is where the script will place a "building", for it. Though I also want it to be able to detect if it's conflicting with any other parts/buildings, IE it's being build inside them. I don't have any idea what method I could use to do this, though, and I don't think a touch event would register in this context, since it just spawns the part to the clicked position. Since the part is bigger than where the mouse clicks, I also cannot use mouse.Target.
Is this possible?
EDIT: the 'buildings' will also vary in size, and potentially be rotated at various degrees.
Which restricts some options

1 comment
It's sad this won't work due to the varying size and rotation of my models.