Browse Source

Merge pull request #23221 from pgruenbacher/lookahead_docs

added docs for lookeahead pathfollow2d.xml
Rémi Verschelde 6 năm trước cách đây
mục cha
commit
11be39f3ce
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      doc/classes/PathFollow2D.xml

+ 1 - 0
doc/classes/PathFollow2D.xml

@@ -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.