Simple camera implementation

Hi Forum,

I want to simulate a simple camera with the following capacity(free camera):

  1. The camera move right-left-up-down with the key-board arrow keys.

  2. The camera orient at any direction with the left-mouse click.

Which example/class reference should i look into ?


Check out
examples / 3d / cameraLensOffsetExample
examples / 3d / cameraParentingExample.

The functions in the camera class are fairly self-explanatory, dolly, pan, tilt. Call the lookAt function to orient the camera to a position.

1 Like