From 9353a2bbd161f99de5e6de6365b288bf19f910b6 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Thu, 26 Mar 2020 12:32:20 +0100 Subject: Better damping implementation for Bullet rigid bodies Apply old method for linear & angular damping in Bullet, in order to make it easier to tweak and consistent with Godot Physics. --- modules/bullet/SCsub | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/bullet/SCsub') diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub index 6f64edce3d..b853ebfc63 100644 --- a/modules/bullet/SCsub +++ b/modules/bullet/SCsub @@ -204,6 +204,8 @@ if env["builtin_bullet"]: # if env['target'] == "debug" or env['target'] == "release_debug": # env_bullet.Append(CPPDEFINES=['BT_DEBUG']) + env_bullet.Append(CPPDEFINES=["BT_USE_OLD_DAMPING_METHOD"]) + env_thirdparty = env_bullet.Clone() env_thirdparty.disable_warnings() env_thirdparty.add_source_files(env.modules_sources, thirdparty_sources) -- cgit v1.2.3