Mouse Cursor
by Balmer Steve · in Torque Developer Network · 06/02/2010 (4:09 am) · 2 replies
Hi All
In My Project I have to display Mouse Cursor. If the Left Mouse Button is Pressed the camera should
turn(rotate).Did any one knows how to map the mouse in a way that yaw and pitch are on one of the buttons
How can i do that.
Thanks n advance
In My Project I have to display Mouse Cursor. If the Left Mouse Button is Pressed the camera should
turn(rotate).Did any one knows how to map the mouse in a way that yaw and pitch are on one of the buttons
How can i do that.
Thanks n advance
Balmer Steve
function CheckLeftMouseDown()
{
if (Canvas.getMouseControl().getName() $= "PlayGui")
if (!$ForwardKeyDown)
$ScheduleMoveForward = schedule(120, 0, "moveForward", 1);
$LeftMouseDown = 1;
}
if (Canvas.getMouseControl().getName() $= "PlayGui")
The above code does not take effect.
Unable to find function getName()..
Whats wrong with it.