When applying transform: scale() to any of the parent divs of the renderCanvas, scene.pointerX and scene.pointerY values will have an offset, based on the scale value in transfrom.
How would I be able to fix this issue, without having to remove the scale transform from the div?
Here’s a PG: https://playground.babylonjs.com/#Q05HRF#2
Click anywhere to create a sphere using scene.pick(pointerx, pointery), but you’ll notice that it is not accurate, to where its supposed to create the sphere.