Facing issue with model import and vehicle control

Hi, I am learning JME3 and facing serious trouble from 3 days. I am modifying sample example of JME3 ‘PhysicsVehicle’. I created two wheels in blender with axle. exported to ogre and imported in JME. It looks crazy both wheels and axle are misplaced and also showing bounding box larger then actual object. see below images and code at bottom. Please advice me what I am doing wrong.

  1. Model created in blender.

  2. Model bounding box in blender.

  3. Model exported to Ogre.

  4. Snapshot of output in debug mode.

  5. Code

    private void initPlayer() {
    carNode = (Node) assetManager.loadModel(“Models/wheel/wheel.scene”);
    printGeom(carNode);
    Geometry xl = findGeom(carNode, “xl”);
    BoundingBox xlBox = (BoundingBox) xl.getModelBound();
    CollisionShape carHull = CollisionShapeFactory.createDynamicMeshShape(xl);

         vehicle = new VehicleControl(carHull, 60);
         carNode.addControl(vehicle);
    
    
         float stiffness = 60.0f;
         float compValue = .3f;
         float dampValue = .4f;
    
         vehicle.setSuspensionCompression(compValue * 2.0f * FastMath.sqrt(stiffness));
         vehicle.setSuspensionDamping(dampValue * 2.0f * FastMath.sqrt(stiffness));
         vehicle.setSuspensionStiffness(stiffness);
         vehicle.setMaxSuspensionForce(10000.0f);
    
         Vector3f wheelDirection = new Vector3f(0, -1, 0);
         Vector3f wheelAxle = new Vector3f(-1, 0, 0);
    
         Geometry wl = findGeom(carNode, "wl");
         wl.center();
         BoundingBox box1 = (BoundingBox) wl.getModelBound();
         float wheelRadius = box1.getYExtent();
         float front_wheel_h = (wheelRadius * 1.9f) - 1f;
         vehicle.addWheel(wl, box1.getCenter().add(0, -front_wheel_h, 0),
                 wheelDirection, wheelAxle, 0.2f, wheelRadius, true);
    
         Geometry wr = findGeom(carNode, "wr");
         wr.center();
         BoundingBox box2 = (BoundingBox) wr.getModelBound();
         wheelRadius = box2.getYExtent();
         front_wheel_h = (wheelRadius * 1.9f) - 1f;
         vehicle.addWheel(wr, box2.getCenter().add(0, -front_wheel_h, 0),
                 wheelDirection, wheelAxle, 0.2f, wheelRadius, true);
    
         rootNode.attachChild(carNode);
         bulletAppState.getPhysicsSpace().add(vehicle);
     }

Finally solved. Issue was with model direction in blender…