Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / 3D coords of a mouseclick

Author
Message
Username Goes Here
User Deleted
Posted: 17th Jun 2003 00:26
I have a plane/matric and wanna find out the coordinates of
the position I click with my mouse. It seems that DB Pro doesn't have some kind of LinePick or other command that will give me
what I need. Am I right? And if so, how do you get this job done?

Cu
Michael
Terabyte
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 17th Jun 2003 01:04 Edited at: 17th Jun 2003 01:05
try experimenting with the
Object screen x()
object screen y() commands
they return an xy screen co-ordinate of an object in 3d space hope that helps
There was a code snippet recently in the code snippet section telling you how to select object in 3d space. if you muck about with it you might find somthing

Info Q.&statments corect@da time of going to pres. I acept 0 responsibility for typos gramaticaly incorect txt swering or pety complant tht u hve so just piss off unles u r anserin da Q.

Login to post a reply

Server time is: 2026-07-11 14:56:12
Your offset time is: 2026-07-11 14:56:12