How to invert mouse y axis?
by Robert Scott · in Torque Game Engine · 11/19/2003 (5:05 pm) · 4 replies
Hi All,
I just bought the torque engine. One of the first things I want to try is to add an option to invert mouse y axis for the fps example. Can someone tell me where to start?
Thanks,
dforce@ev1.net
I just bought the torque engine. One of the first things I want to try is to add an option to invert mouse y axis for the fps example. Can someone tell me where to start?
Thanks,
dforce@ev1.net
#2
11/19/2003 (7:01 pm)
I think Xavier did a resource over inverting the mouse, but don't ask me...
#3
As you said, I modified default.binds.cs and deleted the dso.
function pitch(%val)
{
//$mvPitch += getMouseAdjustAmount(%val);
$mvPitch -= getMouseAdjustAmount(%val);
}
Works great!
11/19/2003 (8:23 pm)
Yes, Thank You!As you said, I modified default.binds.cs and deleted the dso.
function pitch(%val)
{
//$mvPitch += getMouseAdjustAmount(%val);
$mvPitch -= getMouseAdjustAmount(%val);
}
Works great!
#4
It works like a charm, adding the option to invert your mouse (as well as adjust its sensitivity) right into the Controls menu!
11/20/2003 (1:31 am)
BTW if you want to add that as an option in your control options menu, a quick search reveals this resource. It works like a charm, adding the option to invert your mouse (as well as adjust its sensitivity) right into the Controls menu!
Associate Kyle Carter