How to implement true "zoom under cursor" (CAD-style) with ArcRotateCamera in BabylonJS 8.x?

Hi @juniorconte and welcome to the community!

There’s ArcRotateCamera.zoomToMouseLocation - is this what you’re after?

This was discussed (and implemented) here:

Note it works for mouse wheel zoom only and not touch device pinch zoom.

Possibly your ChatGPT response was an AI hallucination :slight_smile:

The Babylon.js team are committed to backwards compatibility, so it’s very rare and they require strong justification to remove or change any public methods in the API.

4 Likes