Selecting Objects in 3D World
by Usman Javed Sattar · in Technical Issues · 07/30/2005 (10:14 am) · 1 replies
Hello
I've been trying to alter Emaga 5 (an example from book: 3D Game Programming All In One) and add object and character selecting capabilities in the 3d world. That is, while the user is in the 3dworld, he needs to be able to select either a character or an object by clicking on them, and make a list of options appear near him or around him. What code do I have to write and where (in which file)? I want Sims like interface so i have made the camera stationary and disabled its movememtn with the movememnt of mouse and keyboard. Now the things i have in 3d world is a room and a staionary camera in it as well as a character. i have just started studying torque through this book and want to achieve Sims like interface for a project. I donot have much time to study every thing in detail neither do i have much resources. I just need to know what script do i have to write and where in Emaga 5 example.
I've been trying to alter Emaga 5 (an example from book: 3D Game Programming All In One) and add object and character selecting capabilities in the 3d world. That is, while the user is in the 3dworld, he needs to be able to select either a character or an object by clicking on them, and make a list of options appear near him or around him. What code do I have to write and where (in which file)? I want Sims like interface so i have made the camera stationary and disabled its movememtn with the movememnt of mouse and keyboard. Now the things i have in 3d world is a room and a staionary camera in it as well as a character. i have just started studying torque through this book and want to achieve Sims like interface for a project. I donot have much time to study every thing in detail neither do i have much resources. I just need to know what script do i have to write and where in Emaga 5 example.
About the author
Torque 3D Owner Rodney (OldRod) Burns
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7335
It does require some source changes though, so if you're not a Torque owner it won't help you. I don't recall seeing any that work in script-only.