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?
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?
Associate Andy Hawkins
DrewFX