Locking the firing angle?
by Jack Shugart · in Torque Game Engine · 07/25/2008 (2:10 pm) · 1 replies
Brief outline:
1) I'm using the FPS Demo as my proof of concept test bed.
2) I am trying to figure out how to lock the firing angle to the horizontal plane.
I was hoping someone could point me in the right direction.
Thanks
1) I'm using the FPS Demo as my proof of concept test bed.
2) I am trying to figure out how to lock the firing angle to the horizontal plane.
I was hoping someone could point me in the right direction.
Thanks
Torque Owner Gareth Hewes
I don't know what the structure is like on the file system you're using (I don't have the FPS demo in front of me), but I know in the one I'm using (the Template for TGEA 1.7), in the client folder there is a script called default.bind.cs. It defines all of the key bindings for the controls. What I would think you should be able to do is simply comment out the function that changes the $mvPitch variable, and also comment out the binding of that function to the mouse y axis.
If anyone has any clarification how this would work in the other systems, feel free to add on.
(I know this post is old, but if people want to know in the future, I figured it would be handy to have an answer here)