A tutorial on this can now be found here : https://www.youtube.com/watch?v=-IeNnw6zzvQ
Similar to my RTS-Building demo this was a test. I tried to achieve some sort of grid to build upon – it works with detection on already placed blocks, but only on 1×1 BlenderUnits for now. If I place Blocks with variety in their size – then they are coliding, as the detection works with mouseover and not colision of the objects.
00:20 « behind the scenes »
_
Some limitations:
-The camera should be set to orthographic mode – so you need to switch between the « ingame-camera » and the « building-camera » if you dont plan on creating an orthgraphic « old-school » like game.
-The Movement detections only work with mouse over – so if you move the mouse too fast the grid won’t follow. This could be solved by maximazing the « panners » to the screen size.