Closed lazd closed 11 years ago
A chase camera implementation that seems to work well: https://github.com/BKcore/HexGL/blob/master/bkcore/hexgl/CameraChase.js
This has everything to do with Euler order: https://github.com/mrdoob/three.js/issues/835
This is good enough for the moment, closing this issue for now.
The camera should always be behind the buggy, chasing it at a fixed Y height. The camera should follow the buggy's Y rotation, but not X or Z.
A potential resource: http://stackoverflow.com/questions/11665562/three-js-how-to-use-quaternion-to-rotate-camera