Game Development Community

Picking

by Maxime Jouin · in Torque Game Engine · 11/08/2006 (8:30 am) · 3 replies

Hello,

for my project I need to know if the user click on the head or the chest of an avatar.
I assume that my avatar must have a bounding box for the head and another one for the chest.
But I don't know how to do the picking and how to retrieve the name or id of the selected bounding box.
Could you tell me if Torque Script have all I need to do this?
If not, could you tell me where I can find informations to code and add these functionalities in the source code of the torque engine?

Thanks a lot.

#1
11/13/2006 (5:44 am)
Is somebody can help me please?
#2
11/13/2006 (6:07 am)
I did a quick search and found these 2 items. I haven't used either as I've had no reason yet but they seem well done from skimming them.


www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4146
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2173
#3
11/13/2006 (8:06 am)
I'm gonna take a look on these.

Thanks a lot Jonathan.