Mouse Click for GUI Control
by RedCore · in Torque Game Engine · 03/16/2004 (6:42 pm) · 4 replies
I'v writen my own GUI control, but i need some help with a button type thing..
I want to be able to detect if i'v clicked on a dts object that i'v added to the scene. Anyone know of a way to do this?
Thx,
RedCore
I want to be able to detect if i'v clicked on a dts object that i'v added to the scene. Anyone know of a way to do this?
Thx,
RedCore
About the author
#2
What you're trying to do is called 'picking'. There is a resource called, of all things, Click n Pick that covers this.
-Ed
03/16/2004 (7:30 pm)
RedCore,What you're trying to do is called 'picking'. There is a resource called, of all things, Click n Pick that covers this.
-Ed
#3
Thanks for the reply, i checked out his J. Donavan Stanley's guiShadowButton Resource, assuming thats the resource you were talking about, but i didnt see anything relative to what i want to do..
Thanks again for the reply.
03/16/2004 (7:30 pm)
Hi Eric F, Thanks for the reply, i checked out his J. Donavan Stanley's guiShadowButton Resource, assuming thats the resource you were talking about, but i didnt see anything relative to what i want to do..
Thanks again for the reply.
#4
Thanks alot! That seems to be exactly what i needed!
Thanks again,
RedCore
03/16/2004 (7:36 pm)
Hey Ed,Thanks alot! That seems to be exactly what i needed!
Thanks again,
RedCore
Torque 3D Owner Eric Forhan
-Eric F