added docs for lookeahead

Fix indenting

lookahead clarification

fix ahead

(cherry picked from commit 1c73443915)
This commit is contained in:
paul gruenbacher 2018-10-22 09:23:19 -04:00 committed by Rémi Verschelde
parent b404e9da00
commit f0cdf4294e
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
The node's offset along the curve. The node's offset along the curve.
</member> </member>
<member name="lookahead" type="float" setter="set_lookahead" getter="get_lookahead"> <member name="lookahead" type="float" setter="set_lookahead" getter="get_lookahead">
How far to look ahead of the curve to calculate the tangent if the node is rotating. E.g. shorter lookaheads will lead to faster rotations. Default value: [code]4[/code].
</member> </member>
<member name="loop" type="bool" setter="set_loop" getter="has_loop"> <member name="loop" type="bool" setter="set_loop" getter="has_loop">
If [code]true[/code], any offset outside the path's length will wrap around, instead of stopping at the ends. Use it for cyclic paths. If [code]true[/code], any offset outside the path's length will wrap around, instead of stopping at the ends. Use it for cyclic paths.