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.

Newcomers DBPro Corner / a little help needed

Author
Message
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 25th Mar 2003 22:02 Edited at: 25th Mar 2003 22:05
im having trouble finding the coordinates of some plain objects i have locked to the screen
i tried using the object position, that didnt work
i tried usint the screen position that didnt work
heres my code pls help


edit: everything after the "else" works, as that is where it is checking for objects not locked to the screen, only having problems with i>=999 and up
Dr DooMer
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United Kingdom
Posted: 26th Mar 2003 01:21
What coodinates are you trying to find? The coodinates in the world-space or the coodinates on screen?

If it's the coodinates in the world-space, then I don't think there's a way without delving into the wonderful world of trigonometry!

If it's the coodinates on screen, then I have no idea because I've never used that function before...

"I am a living, thinking entity who was created in the sea of information."
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 26th Mar 2003 04:43
umm its ok i worked around it
i had to take into account that the origin for the 3d's was in the centre and the origin for the mouse the top left of the screen

Login to post a reply

Server time is: 2024-09-20 00:48:19
Your offset time is: 2024-09-20 00:48:19