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.

Dark GDK / getting a point in 3D space

Author
Message
haliop
User Banned
Posted: 27th Apr 2010 20:23
how to do that?
with the mouse , XYZ ?
however i mean 3D space as World and not induvidual Objects
so if i have a map ready for me , how do i get a point using the mouse while not counting on objects but the 3D space as a whole.
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 28th Apr 2010 05:34
Do you want the 3D coordinates of the mouse's position (your description of your question is confusing me a bit)?

Well, to do that, you use the following three functions.


That answer your question?

http://www.darkgdk.us/ <- You can now submit pages, upload images, yet were lacking content. We need your help!
JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 28th Apr 2010 05:50
No, I don't think so - mouse scroll wheel shouldn't have any impact (if I'm understanding the question correctly).

However, the following link to gamedev.net does have what he's looking for (i believe).

Regards,
JTK

Sorry I can't be of much help, I've bookmarked that page for when I need to answer that question myself; but as of now, I don't understand what they are saying... lol...
haliop
User Banned
Posted: 28th Apr 2010 10:12
i have no idea what it sais on gamedev.net

how about using
dbpickscreenvector?
Freedom Fighters
15
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 28th Apr 2010 11:23
ow i remember this, i had a post a while back about this.

Heres the Code



this is to find a 3d point. try it. i think this is what your after

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
haliop
User Banned
Posted: 28th Apr 2010 13:41
ty
Freedom Fighters
15
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 29th Apr 2010 11:19
no problem

Problem Solution That Never Fails: "Build A Bridge And Get Over It"

Login to post a reply

Server time is: 2024-11-20 01:36:11
Your offset time is: 2024-11-20 01:36:11