Free Camera Multi Touch Bug

I’ve noticed that the default Free Camera bugs out when I’m tapping the second point.
And ideas?

https://playground.babylonjs.com/#DWPQ9R#1

1 Like

cc @PolygonalSun

Looks like a bug indeed, what platform are you using ? @PolygonalSun I wonder if it is a regression ?

First, I am able to repro this issue. This issue is not a regression and if I’m understanding what’s happening correctly, the PG is using the default mouse input code (FreeCameraMouseInput), which only supports input from a single source. The jittering is caused by the fact that this input object isn’t understanding that the pointer movements are coming from multiple touch sources. I believe I know how to fix this, so I’ll update when I have a PR in place.

1 Like

Fix is in PR: Fix for FreeCameraMouseInput fluxuating input on multi-touch by PolygonalSun · Pull Request #13233 · BabylonJS/Babylon.js (github.com)

2 Likes