The fixed camera: it sits at a position looking at a target with no navigation controls of its own, for views a script places itself.
Creates a camera at position looking at target with no navigation controls of its own, and adds it to the scene without activating it.
position
target
The position and the target
The target camera
const camera = bitbybit.babylon.camera.target.create({ position: [20, 20, 20], target: [0, 0, 0] });bitbybit.babylon.scene.activateCamera({ camera }); Copy
const camera = bitbybit.babylon.camera.target.create({ position: [20, 20, 20], target: [0, 0, 0] });bitbybit.babylon.scene.activateCamera({ camera });
Namespace: Bit
Other top-level symbols:
API reference home · Full symbol index · Tutorials and guides · Platform
The fixed camera: it sits at a position looking at a target with no navigation controls of its own, for views a script places itself.