Placing a wall with MeshBuilder.CreateBox() about 20m behind my camera.
We constrain ArcRotateCamera rotation to 90deg either side, so the camera cannot rotate to see the wall.
Then I rotate left or right to that 90deg limit.
Then I start panning sideways towards the wall.
The camera will pass right through the wall, despite wall.checkCollisions=true and camera.checkCollisions=true.
Once through though, the camera will NOT pass back through the wall. Collisions now behave as expected. It’s a one-way bug.
Camera has a reasonable collisionRadius which works fine against all the loaded walls. It just gets weird with the dynamically-generated wall.
Curious, I tried applying wall.rotate( Math.PI ) to see if the bad behavior flipped if the wall were flipped, but no change.
Baffled. What’s going on?