repo: janusweb action: commit revision: path_from: revision_from: d456dd363a73d9a69d53c87f3e9198a66352782d: path_to: revision_to:
commit d456dd363a73d9a69d53c87f3e9198a66352782d Author: James BaicoianuDate: Sat Oct 21 10:52:42 2017 -0700 Fix player start orientation diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -602,7 +602,7 @@ elation.require([
this.spawnpoint.position.fromArray(room.pos);
}
this.spawnpoint.quaternion.copy(room.orientation);
- //this.spawnpoint.quaternion.multiply(new THREE.Quaternion().setFromEuler(new THREE.Euler(0,Math.PI,0)));
+ this.spawnpoint.quaternion.multiply(new THREE.Quaternion().setFromEuler(new THREE.Euler(0,Math.PI,0)));
this.spawnpoint.updateMatrixWorld();
if (room.skybox_left_id) this.properties.skybox_left = room.skybox_left_id;
-----END OF PAGE-----