Game Development Community

Mouse Click

by Harrison Brock · in Torque Game Engine · 11/14/2006 (2:02 pm) · 2 replies

Dose anyone know of any resources for TGE that would like you left and right click on am object and have it rotate. I have the code down to rotate the object but I want it to rotate on a mouse click.

Harrison Brock
Developer
www.xnalist.com

#1
11/14/2006 (7:01 pm)
I did it by dropping in TGB into the TGE source, recompiling and using a SceneWindow with the onMouseRightDown etc stuff

I know it was overkill, but I'll be using more of TGB in TGE in the coming weeks :)
#2
11/23/2006 (1:00 am)
I am also interested in finding a solution which enables the camera to rotate when the right click is held down. I've tried out the WoW-emulation resource but the camera gets *very* jittery and delayed.