305306307308309310311312313314315
// Set the bounds on the arrows and update them a1.setModelBound(new BoundingSphere()); a1.updateModelBound(); a2.setModelBound(new BoundingSphere()); a2.updateModelBound(); return n; } private Set<TranslationListener> listenerSet = new HashSet();
8586878889909192939495
//? Mesh orientation in ortogonal vector not clear Vector3f v=md.getDirection(); if (v.x==0) v.x=0.0001f; a.rotateUpTo(v); a.updateModelBound(); i++; rootNode.attachChild(a); driveMeshes.add(a); } }