Object selection / Picking
by Yost Engineering · in Technical Issues · 10/10/2007 (1:57 pm) · 1 replies
Hello,
What is the easiest way to determine if an object has been clicked on ingame? I have seen posts on this topic already however the solutions have required the engine to be recompiled, Is there not a way to determine picking within scripting? There has to be some sort of onMouseClick function for objects.
I simply have a static object that needs to play a sound when it is clicked.
If anyone has any suggestions please let me know!
Thanks
What is the easiest way to determine if an object has been clicked on ingame? I have seen posts on this topic already however the solutions have required the engine to be recompiled, Is there not a way to determine picking within scripting? There has to be some sort of onMouseClick function for objects.
I simply have a static object that needs to play a sound when it is clicked.
If anyone has any suggestions please let me know!
Thanks
Torque Owner Ehab Yosry Amer
I've made a combined resource to do that & quite some other stuff, I think it would be very helpful to u
Mouse, Camera & Selection Combined Resource