Game Development Community

Script only Camera Modification

by Dustin Sims · in Torque Game Engine · 06/25/2008 (10:09 pm) · 0 replies

Does anyone know of a script only solution to be able to
control the player object's direction only when holding down a
modifier key.

As it is currently in Starter.FPS, the mouse always rotates the player.
I would like to have free cursor movement similiar to in the editor and only allow
the mouse to control the character when holding down a mouse button or modifier key.

It seems the editor does something similiar when you press "F11" and do not drop camera. The editor forces you to hold Right mouse button to free rotate the camera.
I have searched the scripts over but can't find the control setup. I am thinking it may be in the source.
Any suggestions..