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.
This commit is contained in:
PouleyKetchoupp 2021-06-09 17:33:17 -07:00
parent 92f20fd70e
commit 2bf145fa5d
2 changed files with 4 additions and 3 deletions

View file

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