mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
don’t drag avatar along during orbit, yet.
This commit is contained in:
parent
fa3b109e1d
commit
3a4ebe878b
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue