From fc8ad59af39b4436514820ed1e7444f3b94a0377 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Fri, 22 Mar 2019 02:33:17 +0100 Subject: [PATCH] Make angular_damp of new Area nodes match the global default --- scene/3d/area.cpp | 2 +- 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 e58e26d2d10..3856d3ce54e 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 9d68869bc22..ad3e40916dc 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);