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

Cannot move verticallyI also encountered this problem at work. This problem seems to have been solved, but why can’t I still translate vertically in this example?
Example: https://playground.babylonjs.com/#1A3M5C#171

You set the y panning axis to 0 in the PG so it will not pan along that axis - the vertical one.

If so, what are they talking about in the thread? I saw that Cedric seemed to have fixed something :astonished:

Looks like it is blocked indeed so lets summon @Cedric but be mindful as he currently is in vacations

@roland it seems to feel weird depending on which angle is used.

1 Like

I’ll take an in-depth look this week.

1 Like

Not a bug! Doc says panningAxis defines the allowed panning axis. It works like a mask or factor in local camera space. But, to account for a special case a check has been made on Y zero value.
So, setting it to an epsilon will fix it:

2 Likes