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 / [DarkEngine] PickObject

Author
Message
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 8th Apr 2007 03:28 Edited at: 8th Apr 2007 03:31
Right now Im using this:

Dim cc As Integer = oDB3D.PickObject(DarkMouse.X, DarkMouse.Y, 1, 10)

Im getting cc = 3 when hovering the mouse over the object I want to choose, but its in the object oCrate.

How to use PickObject in DarkEngine?

EDIT: Well... changed my code to



But it dont look right...

I have a feeling that I should get the object instead of id

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://www.tigernet.dk - Send SMS to mobile online (will come in english soon)
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 8th Apr 2007 09:05
Hi Niels,

Thanks for the tip! That's one of the missing functions. MudBug hand over the 3D part to me so I'll be adding missing commands. Tell me if you find others missing commands, ok? Oh my, where's my new computer? I'm willing to code v 0.2 right away! No VS here, and my "broadband" connection is like "I wanted to be a dialup". Too much pain to download Express (or maybe I'm being lazy).

Best regards,
Thiago

Happy easter and happy coding!
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 8th Apr 2007 10:32
kBessa

Okii.... was just worried about I was doing some mistake.

Here is my function:



I will use that until DE has it build in

Niels Henriksen
Working on a (MMO)RPG right now in DarkEngine
http://www.tigernet.dk - Send SMS to mobile online (will come in english soon)

Login to post a reply

Server time is: 2024-11-19 12:21:22
Your offset time is: 2024-11-19 12:21:22