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
If cc = oCrate.Id Then
Console.WriteLine("Crate selected")
End If
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)