Follow Component Camera Controller
Use WASD to move the box, the camera will rotate towards it.
// Add this to the entity that should be followed.
this.world.createEntity([
]);
Use WASD to move the box, the camera will rotate towards it.
// Add this to the entity that should be followed.
this.world.createEntity([
]);