mirror of
https://github.com/godotengine/godot.git
synced 2026-01-08 00:25:01 +03:00
Clarify Curve.get_closest_point uses baked points.
Based on the doc, I wasn't sure if get_closest_point would return the closest baked point or the closest "source" point. It seems to use baked:8faecd6a47/scene/resources/curve.cpp (L809)(cherry picked from commitef5042a70f)
This commit is contained in:
committed by
Rémi Verschelde
parent
3fe851accc
commit
d39e5b9987
@@ -63,7 +63,7 @@
|
||||
<argument index="0" name="to_point" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the closest point (in curve's local space) to [code]to_point[/code].
|
||||
Returns the closest baked point (in curve's local space) to [code]to_point[/code].
|
||||
[code]to_point[/code] must be in this curve's local space.
|
||||
</description>
|
||||
</method>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
<argument index="0" name="to_point" type="Vector3">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the closest point (in curve's local space) to [code]to_point[/code].
|
||||
Returns the closest baked point (in curve's local space) to [code]to_point[/code].
|
||||
[code]to_point[/code] must be in this curve's local space.
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user