summaryrefslogtreecommitdiff
path: root/scene/2d/shape_cast_2d.cpp
AgeCommit message (Collapse)Author
2021-11-12Remove `get_closest_*` methods from `ShapeCast2D`Andrii Doroshenko (Xrayez)
The physics API cannot provide needed functionality to ensure the correct behavior, which might lead to confusion (see `rest_info()`). However `get_closest_collision_safe/unsafe_fraction()` methods are not removed, because they return correct result from `cast_motion()`.
2021-11-12Add `ShapeCast2D` nodeAndrii Doroshenko (Xrayez)