OK. I've solved it: public class SpaceTravelBehavior extends ViewPlatformBehavior { // private TransformGroup targetTG; <- this shouldn't be here since it's already a protected field in ViewPlatformBehavior.
That is what apparently caused the hickups. I just wonder why it had such an inconsistent behavior (no pun intended). As I wrote; about every other run would fail - odd. Regards /Jørn From: Jørn Cornelius Olsen <[EMAIL PROTECTED]> Hi, I don't mean to interrupt your Java 3D/Xith/JOGL discussion, but I'm having a curious problem with my behaviors. I'm using one behavior to move the view through space (an extension based on KeyNavigatorBehavior), but about every other time (or so) I run it, it freezes - no behaviors are called anymore. If I resize the window, the canvas is redrawn as it should be - only no movement. If I run it in debug mode, there is _no problem_. At this point I should say that I'm using JBuilder 9 personal. Does anyone have any experience with such problems? Or maybe suggestions as to what the problem is? Could it be a memory issue? I only use a PointArray of 20 and 20 spheres with 36 subdivisions. I've enclosed the processStimulus in a try-catch, but that doesn't seem to be it. I know that it is not all-encompassing, but here's a bit of the code: public void processStimulus(Enumeration enumeration) { try { float deltaTime=(float)timeWarp*(float)getDeltaTime ()/1000f; targetTG.getTransform(viewTransform); velocity.z=10000*Constant.c*(10000); deltaPosition.scale(deltaTime, velocity); position.add(deltaPosition); // System.out.println(position.z); // oldPosition.set(position); viewTransform.set(position); targetTG.setTransform(viewTransform); } catch (Throwable e) { e.printStackTrace(); } wakeupOn(w); } Any help appreciated. Regards /Jørn =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".