mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Cleanup uses of double spaces between words or after punctuation
This commit is contained in:
@@ -190,7 +190,7 @@ Traversal
|
||||
|
||||
The last common use case for the curves is to traverse them. Because of what was mentioned before regarding constant speed, this is also difficult.
|
||||
|
||||
To make this easier, the curves need to be *baked* into equidistant points. This way, they can be approximated with regular interpolation (which can be improved further with a cubic option). To do this, just use the :ref:`Curve.interpolate_baked()<class_Curve_method_interpolate_baked>` method together with
|
||||
To make this easier, the curves need to be *baked* into equidistant points. This way, they can be approximated with regular interpolation (which can be improved further with a cubic option). To do this, just use the :ref:`Curve.interpolate_baked()<class_Curve_method_interpolate_baked>` method together with
|
||||
:ref:`Curve2D.get_baked_length()<class_Curve2D_method_get_baked_length>`. The first call to either of them will bake the curve internally.
|
||||
|
||||
Traversal at constant speed, then, can be done with the following pseudo-code:
|
||||
|
||||
Reference in New Issue
Block a user