summaryrefslogtreecommitdiff
path: root/servers/physics_2d
diff options
context:
space:
mode:
authorvdyotte <vdyotte@gmail.com>2021-10-28 23:08:48 -0400
committervdyotte <vdyotte@gmail.com>2021-10-28 23:08:48 -0400
commit02b6bbc5df079131eaa98925d299b7a328800583 (patch)
tree32ec079b7a6f3edcfb8e2f49ddc3c056d1f05e03 /servers/physics_2d
parentd3547be9ae8ae8bfbbece4757fc0759b712354a7 (diff)
fix hardcoded raycast distance with viewport object picking
having the raycast distance hardcoded to `10000` caused input events to not be registered in very large 3D scenes. This resolves the issue by using the cameras far distance instead. Creating the more predictable behavior of if an object is visible, it will be picked by the viewport. resolves: #49735
Diffstat (limited to 'servers/physics_2d')
0 files changed, 0 insertions, 0 deletions