|
hi
I tried to make user interctive program using behavior
class
First I used WakeupOnAWTEvent for key interactive, but 3D
object in J1ava3D did not move (animate) smoothly
So I tried to use WakeupOnElapsedFrames for smooth movement,
but it did not process various key interaction (except KEY_PRESSED, KEY_TYPED,
KEY_RELEASED)
For various key interaction and smooth movement, I tried
to use both WakeupOnAWTEvent and WakeupOnElasedFrames respectively.
WakeupOnAWTEvent is used in initialize() method, and
WakeupOnElasedFrames is used in processStimulus method.
However, still various key interaction is not
implement.
Give some advise for this, plz.
thanks
|
