diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-03-22 02:33:17 +0100 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-04-01 21:42:06 +0200 |
commit | fc8ad59af39b4436514820ed1e7444f3b94a0377 (patch) | |
tree | 0a7a7b592d6a108603bee398c7e0bebcb2d11148 | |
parent | 9c3ddf05cb9c59817d885e9daca6e8f61c89dc97 (diff) |
Make angular_damp of new Area nodes match the global default
-rw-r--r-- | scene/3d/area.cpp | 2 | ||||
-rw-r--r-- | servers/physics/area_sw.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/area.cpp b/scene/3d/area.cpp index e58e26d2d1..3856d3ce54 100644 --- a/scene/3d/area.cpp +++ b/scene/3d/area.cpp @@ -750,7 +750,7 @@ Area::Area() : gravity_is_point = false; gravity_distance_scale = 0; linear_damp = 0.1; - angular_damp = 1; + angular_damp = 0.1; priority = 0; monitoring = false; monitorable = false; diff --git a/servers/physics/area_sw.cpp b/servers/physics/area_sw.cpp index 9d68869bc2..ad3e40916d 100644 --- a/servers/physics/area_sw.cpp +++ b/servers/physics/area_sw.cpp @@ -250,7 +250,7 @@ AreaSW::AreaSW() : gravity_is_point = false; gravity_distance_scale = 0; point_attenuation = 1; - angular_damp = 1.0; + angular_damp = 0.1; linear_damp = 0.1; priority = 0; set_ray_pickable(false); |