diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-02-16 12:09:53 +0100 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-05-05 22:49:06 -0400 |
commit | 4a28f7e44f99e5c8cab13b4eca4819e483469b07 (patch) | |
tree | 8abcaccc3fef1311b2f47720c5ba6cc8962ea24c /tests | |
parent | 758bccf364729474f8ffbcf15a0bb6e9bad02d9c (diff) |
Increase the default 2D gravity to 980.0
This makes 2D RigidBody physics feel less floaty out of the box.
This closes https://github.com/godotengine/godot-proposals/issues/98.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_physics_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_physics_2d.cpp b/tests/test_physics_2d.cpp index 25b2871890..a9e2e92b34 100644 --- a/tests/test_physics_2d.cpp +++ b/tests/test_physics_2d.cpp @@ -320,7 +320,7 @@ public: ps->space_set_active(space, true); ps->set_active(true); ps->area_set_param(space, PhysicsServer2D::AREA_PARAM_GRAVITY_VECTOR, Vector2(0, 1)); - ps->area_set_param(space, PhysicsServer2D::AREA_PARAM_GRAVITY, 98); + ps->area_set_param(space, PhysicsServer2D::AREA_PARAM_GRAVITY, 980); { RID vp = vs->viewport_create(); |