Game Development Community

Mouse motion

by Brian Uptagrafft · in Torque Game Engine · 09/01/2002 (11:02 pm) · 0 replies

You guys are probably going to hate me for posting so much, so I truly apologize if I'm annoying anyone. I did figure out my other problem (it was the horizon, I just dropped it waaaaaaay down and it cleared up the problem). Anyway, my next question comes in this:

I went and changed the limits on looking around for the player, so he wouldn't be limited to straight up or straight down when adjusting the vertical rotation. This is working great with no problems save one: once I get flipped over, the horizontal axis is, of course, flipped so left is right and right is left. Does anyone know where I'd change this in the code to make it so that when I'm upside down it'll switch 'em? Thanks for everyone's patience and assistance!

Brian