From 3a4ebe878bd450f924fbc0276cf82e92dbec73a1 Mon Sep 17 00:00:00 2001 From: Philip Rosedale Date: Mon, 24 Feb 2014 17:03:14 -0800 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20drag=20avatar=20along=20during?= =?UTF-8?q?=20orbit,=20yet.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/editVoxels.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/editVoxels.js b/examples/editVoxels.js index 7ba9084586..8fd9b925ef 100644 --- a/examples/editVoxels.js +++ b/examples/editVoxels.js @@ -738,10 +738,6 @@ function handleOrbitingMove(event) { z:(Math.cos(orbitAltitude) * Math.sin(orbitAzimuth)) * orbitRadius }; orbitPosition = Vec3.sum(orbitCenter, orbitVector); Camera.setPosition(orbitPosition); - // Move avatar to follow the orbit - var cameraOrientation = Camera.getOrientation(); - MyAvatar.position = Vec3.subtract(Camera.getPosition(), torsoToEyeVector); - MyAvatar.headOrientation = cameraOrientation; mouseX = event.x; mouseY = event.y;