summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2015-11-22 14:14:07 +0100
committerRémi Verschelde <rverschelde@gmail.com>2015-11-22 14:14:07 +0100
commitf33d9dab5bf05356f9a2c882537e83390a710e0b (patch)
tree824443d9ea9d1791a2b5cd0c7adc594b581e4dce /scene/gui
parentbcf4aded9a2af5f9ab48f7f279ee2032d0833f16 (diff)
Fix can_move_to and rename it for more clarity
Fixes #2416. The KinematicBody::can_move_to function was likely designed for two behaviours: - discrete: check if the body can "teleport" to the destination - continuous: check if the direct path to the destination is valid The continuous behaviour was however not implemented, and the discrete behaviour was broken too due to a wrong call to intersect_shape. The discrete behaviour has thus been fixed and the function renamed to can_teleport_to for more clarity.
Diffstat (limited to 'scene/gui')
0 files changed, 0 insertions, 0 deletions