Hi all,
I'm pretty new to Dark GDK and am finding it's pretty nice...
...however, I'm having a problem with dbPickScreen() and can't seem to find a solution.
In the main loop, I have the following:
dbPickScreen(dbMouseX(), dbMouseY(), 100.0f);
float tempX=dbGetPickVectorX();
float tempY=dbGetPickVectorY();
float tempZ=dbGetPickVectorZ();
dbStr( sprintf(buffer, "Pick X: %f Y: %f Z: %f", tempX, tempY, tempZ) );
dbText ( 0, 60, buffer );
Basically, I'm using an isometric camera (overhead) and trying to determine where in the 3D World my mouse cursor is at so I can "drag" an object around the world on the X, Z axes.
It seems that dbPickScreen() isn't giving me any vector coords relative to the camera...all I get is 0, 0, 0.
Thanks for the help in advance!
-supershwa