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 / Selecting object whit mouse [3D]

Author
Message
Bjorn
14
Years of Service
User Offline
Joined: 20th Mar 2010
Location:
Posted: 14th Apr 2010 16:27
I'm currently working on a Map Maker that wil load .x in the world.
Now I want to be able to move an object,
But then I most know what object.
I made a small code whit if the mous x,y,z are the same as an object it will return the object id, but that didn't worked...
Does anyone knows how to get the object-id on the mouse click position?
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 14th Apr 2010 16:38 Edited at: 14th Apr 2010 16:38
dbPickObject is what you are looking for, search the documentations

Bjorn
14
Years of Service
User Offline
Joined: 20th Mar 2010
Location:
Posted: 15th Apr 2010 01:01 Edited at: 15th Apr 2010 01:26
[EDIT]: oeps I wrote it in Dutch... I'm to tired XD

[now in English]:
Who, this works great
I got this a lot of times that I don't know the name for a command
happely the most of the people here know the names

Login to post a reply

Server time is: 2024-10-02 03:44:27
Your offset time is: 2024-10-02 03:44:27