aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/Curve2D.xml
diff options
context:
space:
mode:
authorRémi Verschelde2018-05-25 10:17:37 +0200
committerGitHub2018-05-25 10:17:37 +0200
commitd522bf3b9f8d05968cd0d6b9b9e163c2ffcb51d5 (patch)
treef23849db081a773dfdd3f6bf4d178ae1f3e7e3b7 /doc/classes/Curve2D.xml
parente19405b2b448f5c0ff7c67d6e8c8071e1e5bd537 (diff)
parentdc639d334a1e7ed81c25ce76cd986b2f49f85e65 (diff)
downloadgodot-d522bf3b9f8d05968cd0d6b9b9e163c2ffcb51d5.tar.gz
godot-d522bf3b9f8d05968cd0d6b9b9e163c2ffcb51d5.tar.zst
godot-d522bf3b9f8d05968cd0d6b9b9e163c2ffcb51d5.zip
Merge pull request #18752 from danilo2205/enhanced_path_follow
Up Vector for Curve3D and OrientedPathFollow Implementation
Diffstat (limited to 'doc/classes/Curve2D.xml')
-rw-r--r--doc/classes/Curve2D.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/Curve2D.xml b/doc/classes/Curve2D.xml
index 71bdaff68..26de8be42 100644
--- a/doc/classes/Curve2D.xml
+++ b/doc/classes/Curve2D.xml
@@ -55,6 +55,8 @@
<argument index="0" name="to_point" type="Vector2">
</argument>
<description>
+ Returns the closest offset to [code]to_point[/code]. This offset is meant to be used in [method interpolate_baked].
+ [code]to_point[/code] must be in this curve's local space.
</description>
</method>
<method name="get_closest_point" qualifiers="const">
@@ -63,6 +65,8 @@
<argument index="0" name="to_point" type="Vector2">
</argument>
<description>
+ Returns the closest 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>
<method name="get_point_count" qualifiers="const">