Thanks for the hint about the Cone. But the strange thing is I removed everything else from my scenegraph except the Ship, and I was still picking a Shape3D.
Doing a System.out.println of the sceneGraphPath I get back the following:
SceneGraphPath=javax.media.j3d.Locale@cdb06e : JavaMOO.Ship : javax.media.j3d.Shape3D
I thought I read somewhere that as of J3D vs 1.3 (or 1.3.1? or 1.3.1beta) that the Cone/Sphere/etc are now Shape3D's. Of course now I can't find that anywhere.
Here's my whole definition of Ship:
public class Ship extends Cone {
public TransformGroup tg = null;
/** Creates new Ship */
public Ship(TransformGroup tg) {
super(0.2f, 0.5f);
this.tg = tg;
Appearance a = new Appearance();
Material m = new Material();
a.setMaterial(m);
setAppearance(a);
}
}
In the end, this returns the actual ship Node:
Node n0 = sceneGraphPath.getNode(0);
As for doing the AWT events myself, I'll probably end up doing that, but for now I'm playing with all the behaviors and "automagic" stuff. Haven't used J3D in about a year now, so getting back up to speed
