How to manipulate the position of an object

Hello guys,

I have been using trial and error to align the boat horizontally perfect.

But as you can see. i am not doing well.

This is the code i have now.

```    Spatial r1 = (Spatial) BinaryImporter.getInstance().load(                new ByteArrayInputStream(BO1.toByteArray()));          // logger.info("Finished loading time is "+(System.currentTimeMillis()-time));          r1.setLocalScale(150f);          // r.setLocalScale(new Vector3f(0, 150, 400));          r1.setRenderState(ts);          r1.setLocalTranslation(new Vector3f(-500, -250, 1250));          // naar 0 toe is hoger          // rotate about the Y-Axis by approximately 1 pi          Vector3f axis = Vector3f.UNIT_Y; // this equals (0, 1, 0) and does          // not require to create a new          // object          float angle = 1.6f;          r.getLocalRotation().fromAngleAxis(angle, axis);          Vector3f axisZ = Vector3f.UNIT_Z; // this equals (0, 1, 0) and does          // not require to create a new          // object          float angleZ = 0.1f;          // r.getLocalRotation().fromAngleAxis(angleZ, axisZ);          // rotate about the Y-Axis by approximately 1 pi          Vector3f axis1 = Vector3f.UNIT_Y; // this equals (0, 1, 0) and does          // not require to create a new          // object          float angle1 = 1.6f;          r1.getLocalRotation().fromAngleAxis(angle, axis);          Vector3f axisZ1 = Vector3f.UNIT_Z; // this equals (0, 1, 0) and does          // not require to create a new          // object          float angleZ1 = 0.1f;```

I want to get it straight and leveled.

I can use some pointers

Load it into your 3D modelling software. Scale it and center it there, and save it out.

You don't want to work with objects that start in bizarre scales and rotations, it's just needless confusion.