Behavior animation problem
843799Dec 16 2001 — edited Dec 17 2001In 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?