mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
f33d9dab5b
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. |
||
---|---|---|
.. | ||
audio | ||
physics | ||
physics_2d | ||
spatial_sound | ||
spatial_sound_2d | ||
visual | ||
audio_server.cpp | ||
audio_server.h | ||
physics_2d_server.cpp | ||
physics_2d_server.h | ||
physics_server.cpp | ||
physics_server.h | ||
register_server_types.cpp | ||
register_server_types.h | ||
SCsub | ||
server_wrap_mt_common.h | ||
spatial_sound_2d_server.cpp | ||
spatial_sound_2d_server.h | ||
spatial_sound_server.cpp | ||
spatial_sound_server.h | ||
visual_server.cpp | ||
visual_server.h |