Boats now rotate correctly in position rather than about the origin

#story[1261]
This commit is contained in:
cbt24
2017-09-05 16:02:20 +12:00
parent 3ecf203cba
commit 05a0614246
2 changed files with 12 additions and 2 deletions
@@ -31,7 +31,7 @@ public class Subject3D {
this.position = new Translate();
this.heading = new Rotate(0, Rotate.Y_AXIS);
this.mesh.getTransforms().addAll(heading, new Rotate(-90, Rotate.X_AXIS), position);
this.mesh.getTransforms().addAll(position, heading, new Rotate(-90, Rotate.X_AXIS));
}
public Shape3D getMesh() {