Open quangIle opened 1 year ago
Describe the bug The raycast on model does not update when camera is transitioned with padding
padding
Zero padding (correct raycaster):
Padding top and left (my mouse did not moveover the model):
To Reproduce Example code: https://codepen.io/quangIle/pen/yLQvBLz
map.flyTo({ center: origin, zoom: 17, // check here padding: { top: 100, left: 100, // top: 0, // left: 0, right: 0, bottom: 0 } });
Describe the bug The raycast on model does not update when camera is transitioned with
padding
Zero padding (correct raycaster):![image](https://github.com/jscastro76/threebox/assets/33140936/f0e1800d-92ed-47e0-9522-9caf0dd97f01)
Padding top and left (my mouse did not moveover the model):![image](https://github.com/jscastro76/threebox/assets/33140936/04adcd6a-8b0b-4204-b1a0-2f53257638fd)
To Reproduce Example code: https://codepen.io/quangIle/pen/yLQvBLz