Game Development Community

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

#1
10/10/2007 (2:48 pm)
No its quite not possible to be done from script only, & dont be afraid to recompile the engine its not risky at all & its very easy :)
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