Game Development Community

3D Picking / Object selection

by University of Huddersfield (#004 · in Torque Game Engine · 01/31/2007 (7:56 am) · 4 replies

I'm trying to add the functionality to pick /select a 3D object in Torque script. I've read this resource: http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2173 but there must be an easier way (ie without changing engine code) because the World Editor (in the SDK examples) has this functionality. But for the life of me I can't find it

Thanks in advance

#1
01/31/2007 (8:04 am)
AFAIK, that is the best way. The world editor has its own engine code as well under engine/editor which includes selection.
#2
01/31/2007 (8:46 am)
Ah ok.. so you're saying that code is embedded in the c++ engine rather than the torque script.
#3
01/31/2007 (8:57 am)
I didn't look to see if it had been revealed to the console or not, though.
#4
01/31/2007 (9:09 am)
Ah ok.. so you're saying that code is embedded in the c++ engine rather than the torque script.