Up-down freelook with a hovervehicle
by Tom O'Neill · in Torque Game Engine · 11/04/2005 (8:20 am) · 2 replies
Hey,
I'm writing a game involving HoverVehicles, and I have a few ideas in mind for them, but in one particular thing I'm a bit stuck. I want my HoverVehicles stuck to the ground, so I am ignoring the pitch component of the Move in updateMove(). However, I still want my players to be able to look up and down freely, just without affecting the orientation of the vehicle. So essentially I want to decouple the Camera from the HoverVehicle along the up-down axis, and have it respond to player controls. Any thoughts on how I might do this?
Thanks,
Tom
I'm writing a game involving HoverVehicles, and I have a few ideas in mind for them, but in one particular thing I'm a bit stuck. I want my HoverVehicles stuck to the ground, so I am ignoring the pitch component of the Move in updateMove(). However, I still want my players to be able to look up and down freely, just without affecting the orientation of the vehicle. So essentially I want to decouple the Camera from the HoverVehicle along the up-down axis, and have it respond to player controls. Any thoughts on how I might do this?
Thanks,
Tom
About the author
#2
Tom
11/04/2005 (9:33 am)
This doesn't seem to be working. What's supposed to get called when you hold down z?Tom
Associate Anthony Rosenbaum