Replies: 1 comment
-
Note that this can't be done until Godot 5.0 because it breaks compatibility Also the same naming would apply to the 2D case |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the Geometry3D class, the function
get_closest_point_to_segment(point, s1, s2)
has an inaccurate name. Per the documentation, the functionSo this function doesn't get the closest point to a segment. It gets the closest point on the segment to
point
.I'd recommend renaming this function
get_closest_point_on_segment
.(Its sibling function,
get_closest_point_to_segment_uncapped
, has a similar issue and should be renamedget_closest_point_on_segment_uncapped
.)Beta Was this translation helpful? Give feedback.
All reactions