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 the 3d position to where the mouse is pointing

Author
Message
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 10th Jun 2010 02:30
Hi

Im kinda rusty in DGDK so here we go again..

I have a terrain object which is about 4000 x 4000 in size..
How do I get the 3d position for the mouse then the mouse "hovers" over the object?

here is the code I have soo far, but it dosnt seem to work, cause the object get missplaced WAY OFF!


btw, im using AndrewT's oop wrapper ObjectGDK - so if u get confused, ask and i will explain

Keep it simple.
Questions? Mail me

Login to post a reply

Server time is: 2024-11-19 23:24:01
Your offset time is: 2024-11-19 23:24:01