mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Allow Vector2/3 slerp values to have any length
This commit is contained in:
@@ -299,7 +299,7 @@
|
||||
<argument index="1" name="weight" type="float" />
|
||||
<description>
|
||||
Returns the result of spherical linear interpolation between this vector and [code]to[/code], by amount [code]weight[/code]. [code]weight[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation.
|
||||
[b]Note:[/b] Both vectors must be normalized.
|
||||
This method also handles interpolating the lengths if the input vectors have different lengths. For the special case of one or both input vectors having zero length, this method behaves like [method lerp].
|
||||
</description>
|
||||
</method>
|
||||
<method name="slide" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user