repo: janusweb action: commit revision: path_from: revision_from: b33802e8fb252567e34cc40943be2153f042de74: path_to: revision_to:
commit b33802e8fb252567e34cc40943be2153f042de74 Author: James BaicoianuDate: Tue Oct 31 05:16:19 2017 -0700 Rename call to updateVectors() diff --git a/scripts/janusghost.js b/scripts/janusghost.js
--- a/scripts/janusghost.js
+++ b/scripts/janusghost.js
@@ -274,7 +274,7 @@ elation.require(['janusweb.janusbase', 'engine.things.leapmotion'], function() {
this.body.properties.ydir.set(0,1,0);
this.body.properties.xdir.crossVectors(this.body.properties.ydir, this.body.properties.zdir).normalize();
this.body.properties.zdir.crossVectors(this.body.properties.xdir, this.body.properties.ydir).normalize();
- this.body.updateVectors(true);
+ this.body.updateOrientationFromDirvecs();
}
if (movedata.avatar) {
-----END OF PAGE-----