[JAVA3D] simple java 3d game

2003-06-16 Thread Peter Warren
Hi everyone, I wrote a simple 3d game as a way to learn a bit about java 3d. The gameplay is basic: two balls try to knock each other off a platform. You can play against the computer or against a remote opponent on the internet. If anyone wants to take a look, here's the link: http://www.nomad

[JAVA3D] behavior post - delayed delivery

2003-01-30 Thread Peter Warren
Hello, I'm wondering if anyone can shed some light on the following behavior for me. I've created a test program (below) that creates 3 behaviors. One posts a notification, and the other two (what I call ReceivePostBehaviors) listen for it. The two ReceivePostBehaviors differ in that one's wake

[JAVA3D] bounds

2003-01-19 Thread Peter Warren
I have two Spheres moving around and yet their BoundingSpheres are always located at (0,0,0). Is this because the BoundingSphere object is reporting its coordinates relative to the Node it bounds? I am trying to detect an intersection between these two Spheres of radius 1, but the bounds1.interse

[JAVA3D] canvas3D componentShown

2002-12-08 Thread Peter Warren
Does anyone know why of the 4 component listener methods only componentResized() gets called for a Canvas3D? componentHidden(...), componentMoved(...), and componentShown(...) never get executed. I'm trying to move the mouse cursor on the screen over a given virtual world object once the canvas3D