ShapeCast2D
doesn't differentiate get_closest_collision_*_fraction
safe and unsafe versions
#8552
Labels
area:class reference
Issues and PRs about the class reference, which should be addressed on the Godot engine repository
enhancement
topic:physics
Your Godot version:
v4.2.stable.official [46dc27791]
Issue description:
ShapeCast2D.get_closest_collision_safe_fraction
is described as:ShapeCast2D.get_closest_collision_unsafe_fraction
is described as:(The text I elided is the same in both descriptions)
But as far as I can tell these are different ways of describing essentially the same value - the distance between the start position and the first collision. So I think both myself and the documentation are missing something? 😕
URL to the documentation page:
https://docs.godotengine.org/en/latest/classes/class_shapecast2d.html#class-shapecast2d-method-get-closest-collision-safe-fraction
The text was updated successfully, but these errors were encountered: