Boats now rotate correctly in position rather than about the origin
#story[1261]
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user