summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-10 08:19:20 +0100
committerGitHub <noreply@github.com>2020-02-10 08:19:20 +0100
commit096ff5a2bdc85b9baa93b4b4c8a18defd0689ebe (patch)
treea83857fd0a57821b555010098c1d039b9d53fee1 /scene
parent8cb2de524373566bd0faffe1c70e9a201b20e6be (diff)
parentef9b4ee2e25453fdee555d0a0894e73b8ff391f7 (diff)
Merge pull request #33613 from aaronfranke/down
Fix 2D CollisionShape controls pointing the wrong way
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/line_shape_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/line_shape_2d.cpp b/scene/resources/line_shape_2d.cpp
index 7f39467403..84da8125ea 100644
--- a/scene/resources/line_shape_2d.cpp
+++ b/scene/resources/line_shape_2d.cpp
@@ -115,7 +115,7 @@ void LineShape2D::_bind_methods() {
LineShape2D::LineShape2D() :
Shape2D(Physics2DServer::get_singleton()->line_shape_create()) {
- normal = Vector2(0, -1);
+ normal = Vector2(0, 1);
d = 0;
_update_shape();
}