Game Development Community

Help with Flight Controls

by J.P. Berry · in Torque Game Engine · 10/16/2007 (4:36 pm) · 43 replies

Hey guys,

I am working on a space-sim type game and need to change the controls up a bit. I am using the Flight Game Example from Decane as my codebase.

The problem I have is that the Yaw and Roll are combined into one function in Torque. So when you turn left or right, you also roll over a little bit, depending on the variables set in your flight model. What I want to do is seperate Yaw and Roll. This way I can use the mouse to freely look around, not affecting roll at all. And then I would use the keys to control roll. Anyone have any ideas or can share their code?
Page«First 1 2 3 Next»
#41
07/25/2008 (5:52 pm)
@Kirk - what are the effects of this code on the flight model please?
#42
07/25/2008 (6:27 pm)
Wasd pans, z/c rolls.
#43
07/25/2008 (6:55 pm)
Nice!!! Thanks
Page«First 1 2 3 Next»