diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-06-09 17:33:17 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-06-18 09:14:06 -0700 |
commit | 2bf145fa5d3efaea6d0e108da19c212ceeff6505 (patch) | |
tree | 6ad4d960ff02019388f9da4a1449169eb2f8dfa7 /doc | |
parent | 92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (diff) |
Make LineShape2D normal point upwards by default
Allows line shapes to collide with objects falling from the top by
default, which makes more sense for the most common cases.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/LineShape2D.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/LineShape2D.xml b/doc/classes/LineShape2D.xml index fed5773583..434e6fba8e 100644 --- a/doc/classes/LineShape2D.xml +++ b/doc/classes/LineShape2D.xml @@ -14,8 +14,8 @@ <member name="distance" type="float" setter="set_distance" getter="get_distance" default="0.0"> The line's distance from the origin. </member> - <member name="normal" type="Vector2" setter="set_normal" getter="get_normal" default="Vector2(0, 1)"> - The line's normal. + <member name="normal" type="Vector2" setter="set_normal" getter="get_normal" default="Vector2(0, -1)"> + The line's normal. Defaults to [code]Vector2.UP[/code]. </member> </members> <constants> |