2d Interaction with 3d

Blitz3D Forums/Blitz3D Beginners Area/2d Interaction with 3d

BLaBZ(Posted 2007) [#1]
I have a RTS like 3d terrain.

I would like the 2d cursor to interact with the 3d map.

No matter what the angle of the camera, the mouse needs to be in the viewing region and be able to place objects on the 3d terrain.


Any suggestion??

Thanks a lot
Ben


Matty(Posted 2007) [#2]
Use the camerapick command and make the terrain a pickable entity using the entitypickmode command.