mrdoob/three.js — Issue #737: Camera rotation inverted ?
Author: arcanin
Created: 2011-11-09 17:04:47+00:00
State: open

Hi,

It seems that the PerspectiveCamera is looking in the opposite Y direction of the Object3d direction.

If I apply a translateZ() on a mesh with a Y-rotation of zero, it will move following the positive Z-axis, so it means that the mesh is 'looking' in the positive Z-axis. However, as you will see on the jsfiddle, the camera is looking at the negative Z-axis.

Result expected : displaying the red sphere (which follow the positive Z-axis)
Result displayed : displaying the blue sphere (which follow the negative Z-axis)

Fiddle related : http://jsfiddle.net/fQQhB/
(I'm working with the dev branch)

Is it a bug, or am I wrong ?

Thanks,