godot/scene
Rémi Verschelde f33d9dab5b 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.
2015-11-22 14:14:07 +01:00
..
2d -remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260 2015-11-19 10:41:20 -03:00
3d Fix can_move_to and rename it for more clarity 2015-11-22 14:14:07 +01:00
animation Merge pull request #2707 from akien-mga/master 2015-11-18 19:43:28 -03:00
audio Cosmetic fixes to SCons buildsystem 2015-11-01 20:53:26 +01:00
gui Fix SplitContainer bool properties 2015-11-19 09:56:04 -03:00
io Cosmetic fixes to SCons buildsystem 2015-11-01 20:53:26 +01:00
main Merge pull request #2707 from akien-mga/master 2015-11-18 19:43:28 -03:00
resources Merge pull request #2707 from akien-mga/master 2015-11-18 19:43:28 -03:00
register_scene_types.cpp -fixes and more fixes to new scene system, seems stable now.. 2015-10-16 19:11:23 -03:00
register_scene_types.h Updated copyright year in all headers 2015-04-18 14:38:54 -03:00
scene_string_names.cpp Several performance improvements, mainly in loading and instancing scenes and resources. 2015-06-29 00:29:49 -03:00
scene_string_names.h Several performance improvements, mainly in loading and instancing scenes and resources. 2015-06-29 00:29:49 -03:00
SCsub Cosmetic fixes to SCons buildsystem 2015-11-01 20:53:26 +01:00