Hm, i seem to have a bit of a problem lately when trying to position an object at the mouse coordinate. Now, i did a bit of trigonometry before, and i know how to make a "3D Line", or dot, or project a 3D object on a 2D screen. But i never tried to position an object at the mouse coordinates. Any tips, ideas, suggestions?
Edit: Never mind, i remembered dbPickScreen! Here's how i solved it:
dbPickScreen(dbMouseX(),dbMouseY(),6);
psx = dbGetPickVectorX() + dbCameraPositionX();
psy = dbGetPickVectorY() + dbCameraPositionY();
psz = dbGetPickVectorZ() + dbCameraPositionZ();
dbPositionObject(1,psx,psy,psz);
I hate it when i ask a dumb question, and 5 seconds later i remember how to solve it :/! Sorry for waysting your time.