From 4354db50e21e4c7ec8d5d7776fc323ac841cb0ec Mon Sep 17 00:00:00 2001 From: Mark Riedesel Date: Mon, 24 Oct 2022 11:34:00 -0500 Subject: [PATCH] Revert "Fixed gravity scale" This reverts commit d250ade37b1e74dd11c870be279318ba01a8ba70. --- modules/bullet/space_bullet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp index 8e13146799d9..251ff2ae9bd2 100644 --- a/modules/bullet/space_bullet.cpp +++ b/modules/bullet/space_bullet.cpp @@ -857,8 +857,7 @@ void SpaceBullet::check_body_collision() { void SpaceBullet::update_gravity() { btVector3 btGravity; G_TO_B(gravityDirection * gravityMagnitude, btGravity); - //dynamicsWorld->setGravity(btGravity); - dynamicsWorld->setGravity(btVector3(0, 0, 0)); + dynamicsWorld->setGravity(btGravity); if (soft_body_world_info) { soft_body_world_info->m_gravity = btGravity; }