I’d like to prevent a camera from going under my heightmap. The heightmap doc page has a good example in Babylon.js Playground, but you can still pan under the heightmap with control + click.
In https://www.babylonjs-playground.com/#95PXRY#86 I tried adding something based on camera._position.y being lower than a certain value, and although I can see this is being triggered, the subsequent camera.y = 120 isn’t. I’ve also tried it with setPosition.