okay…basically, I am writing a 3D game like the LightCycling from the old “TRON” movie…motorcycles with light walls emitted from the back.
it’s gone well…models all import, finally made a floor I like…and then this. I can’t figure out how to use something such as KeyListener or the like to interperet input.
a while ago, i wrote a 2D game (extending Applet and implementing MouseMoveListener) and input from the Mouse worked just fine, but keyboard input never worked there, either.
I have a basic environment class, creating the Scene Graph, etc, which calls a custom “turnCycle” behavior that doesn’t work. I used “KeyNavigatorBehavior” for a while and that worked (almost) perfectly…see, the cycles are supposed to turn in 90 degree increments, so a smooth turn is not what I want. turnCycle is not being “woken up”…so to speak.
I did a little research and I’m wondering if I need to use any of the javax.swing.* classes…I had assumed KeyListener would work this time around, but again I am stumped.
HELP…please.