This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,899 Users
  • 2,269,649 Discussions


Behavior animation problem

843799 Member Posts: 49,999
edited Dec 17, 2001 4:35AM in Java 3D
In my application, a WireFrame cube is animated along a path as defined by a curve.
A behavior is used to create the animation, using wakeUpOnElapsedFrames. The processStimulus looks up the point the cube should be at in a HashMap (using the frame number as the key), then draws the cube at this position.
When the curve defining the path is updated, the HashMap in the behavior is replaced and the processStimulus is run again (by waking it up with a postId)
However, when the animation is run with a new HashMap representing the curve, the curve is animated along the new path AND the old path.
Any idea why this could be?


This discussion has been closed.