FreeCamera Panning

Hi guys, I was wondering if someone could help me out with free camera panning. I want the same behavior as google maps have, so when you click the cursor stays in place and you move around. Any PG or snippet is welcomed, thanks.

Here is the simplest version -

That’s nice, but It’s not quite the behavior I’m looking for.

You may have a look at this thread with demo by @roland - Custom ArcRotateCamera touch controls
Also, here is the documentation - Customizing Camera Inputs | Babylon.js Documentation - which you may use as the base to build your own camera input system.

1 Like