// Add the controller class to the box. Notice, I am passing the
// missleTrajectory2 node to the BulletMover class. This is so the
// bullet can be removed from the getRootNode() when it times out. If
// I could remove the missleTrajectory2 junk, I could make it a lot simpler.
box.addController(new BulletMover(this, box, new Vector3f(dx,dy,dz),missleTrajectory2));
getRootNode().attachChild(missleTrajectory2);
}
private void setTurretAngle(){
Quaternion turretAnglePitch = new Quaternion();
Quaternion turretAngleYaw = new Quaternion();