Camera Inversion on player upside-down
by Morrock · in Torque Game Engine · 05/21/2008 (1:59 pm) · 0 replies
I'm currently working on a planetary system for Torque (oh no, another one! :P) I have gravity and walking on the surface completed, and I only have 1 more problem which I have no idea how to fix. Whenever I cross the planet's equator, my player spins right around (so he is looking the way he came), and the left-right movement of my camera inverts. And if I am on or within a few units of the equator, the left-right camera seems to lock up completely for turning, and just turn me rapidly facing down or up.
Once I am on the top half of the planet above the equator the camera works fine, but after crossing the border, and I'm guessing it has to do something with my character flipping upside-down, the left-right strafe and camera movements inverse. I don't know much about Torque's camera, though since it also affects the strafing I'm assuming it has to do with the player. Any help would be great, thanks in advance!
Once I am on the top half of the planet above the equator the camera works fine, but after crossing the border, and I'm guessing it has to do something with my character flipping upside-down, the left-right strafe and camera movements inverse. I don't know much about Torque's camera, though since it also affects the strafing I'm assuming it has to do with the player. Any help would be great, thanks in advance!
About the author