diff --git a/tutorial/doppleganger.js b/tutorial/doppleganger.js index 9a107b2..e7a4160 100644 --- a/tutorial/doppleganger.js +++ b/tutorial/doppleganger.js @@ -172,7 +172,7 @@ Doppleganger.prototype = { } this.frame = 0; - this.position = options.feetPosition || Vec3.sum(avatar.feetPosition, Quat.getForward(avatar.orientation)); + this.position = options.position || Vec3.sum(avatar.feetPosition, Quat.getForward(avatar.orientation)); this.orientation = options.orientation || avatar.orientation; this.skeletonModelURL = avatar.skeletonModelURL; this.jointStateCount = 0;