hi,
im messing around with JoGL, java and opengl.
ive come accross a problem when im moving around the screen. only one button press is recognised at a time. so i can move forward but cant strafe to the left and right or look up and down at the same time.
i know this is to do with the method im using from the KeyListener interface.
is there another interface that will take in multiple key strokes at a time so i can do stuff with each of them, i havnt had any luck finding one yet.
thanks for your help.
im messing around with JoGL, java and opengl.
ive come accross a problem when im moving around the screen. only one button press is recognised at a time. so i can move forward but cant strafe to the left and right or look up and down at the same time.
i know this is to do with the method im using from the KeyListener interface.
Code:
public void keyPressed(KeyEvent e)
is there another interface that will take in multiple key strokes at a time so i can do stuff with each of them, i havnt had any luck finding one yet.
thanks for your help.