// 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();
Quaternion turretAngle;
turretAngleYaw.fromAngleAxis(FastMath.DEG_TO_RAD*currentYaw, new Vector3f(0, 1, 0));
turretAnglePitch.fromAngleAxis(FastMath.DEG_TO_RAD*currentPitch, new Vector3f(1, 0, 0));
turretAngle = turretAngleYaw.mult(turretAnglePitch);