don’t drag avatar along during orbit, yet.

This commit is contained in:
Philip Rosedale 2014-02-24 17:03:14 -08:00
parent fa3b109e1d
commit 3a4ebe878b

View file

@ -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;