ArcRotateCamera does not work at beta = 0 with panningAxis set to [1, 0, 1]

When looking directly down at a scene with an ArcRotateCamera with panningAxis [1,0, 1] you can’t pan vertically anymore.

Example: https://playground.babylonjs.com/#1A3M5C#171

Let me take a look!

1 Like

Check out the paragraph below the arcrotatecamera image Camera Introduction | Babylon.js Documentation

Yeah but you even get this problem when a user manually adjusts the camera until beta = 0. And even before hitting 0, you notice that camera starts panning more slowly as you approach beta = 0.

There are workarounds for this problem because this isn’t an issue with other orbital camera implementations.

This is still on my radar. I’m a bit busy atm but I’ll find a fix soon.

3 Likes

PR is live : Fix ArcRotateCamera panning with axis decomposition by CedricGuillemet · Pull Request #9470 · BabylonJS/Babylon.js · GitHub

2 Likes