I want my camera to follow a ball that is moving by setting its linear velocity.
But this results in some kind of bouncy effect: Babylon.js Playground
I’ve tried adjusting these values - but none of them helped:
// camera.heightOffset = 10;
// camera.rotationOffset = 0;
// camera.cameraAcceleration = 0.005
// camera.maxCameraSpeed = 10
…or is there any other way to “just follow a mesh”? I’ve also tried copying the balls position to the cameras position within the render loop but that doesn’t work smoothly either…