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 / dbPickObject on Planes?

Author
Message
_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 5th Sep 2009 15:06
I have a plane which is textured, and has transparency set to 1 (to make the texture transparent).
here is the creation code:

But when i use dbPickObjet to check if the mouse is over it, the return value is always zero!
Here is the pick-code:

When i replace the plane with a cube or a box it works!
Does dbPickObject work with planes?
Am i missing something?

They say it's better to burn out, than it is to fade away...
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 6th Sep 2009 19:36
dbPickObject works fine with planes, you must revise the rest of your code or post it so others can help.

Login to post a reply

Server time is: 2024-11-19 04:10:52
Your offset time is: 2024-11-19 04:10:52