Game Development Community

How to move a head from side to side with the mouse

by Frank Dellario · in Torque Game Engine · 05/22/2006 (2:39 pm) · 3 replies

There's a code you can type into the console that makes the mouse control only the characters head from side to side, vrs the default turning the whole character from side. We have an animation for both up/down and side to side that works with the mouse and have done this before (it doesn't trigger the animation, it moves the head along the animation path), problem is we no longer have the appropriate line of code to type into the console. Any ideas?

frank

#1
05/22/2006 (3:11 pm)
$mvFreeLook = true/false; ?
#2
05/25/2006 (10:18 am)
That's it! Thanks Paul, much appreciated bro.

frank
#3
05/25/2006 (11:29 am)
In stock code, I think this is bound to be toggled by the "z" key (true when held), so you don't have to change it from console.