|
Ok,What i'm trying to do is to rotate an object in Roll(left/right) and Pitch(forward/back) axises like this:
what happens is that, when for example the up arrow is pressed first, the left or right arrow does not make any change to the rotation anymore. Basically it only gets the first pressed button and ignores whatever comes after until the first button is released. how to fix this? thanks,
(comments are locked)
|
|
Works fine for me. Is it possible you have a pretty old or dirt cheap keyboard? What could be happening is that your keyboard may be overloading the signals for the two keys, which was a common practice with older keyboards. Try pressing W and the left cursor at the same time for example instead of up and left, see if it rotates in both directions. If it does, it could well be your keyboard Yep, I was terribly wrong! the problem was from the rest of the code. I was trying to put some angle limitations for Roll and Pitch which were not functioning correctly. But thanks, you assured me that the problem rested somewhere else!
Nov 22 '10 at 08:40 AM
Kourosh
(comments are locked)
|
