diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-03-26 12:32:20 +0100 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-04-27 18:24:33 +0200 |
commit | 9353a2bbd161f99de5e6de6365b288bf19f910b6 (patch) | |
tree | 433d26be12c05ecd2e8858bd5caac2f814499d2d /modules/bullet/SCsub | |
parent | f61587b158bd0eae6ea5b9d07e90983ff4988772 (diff) |
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.
Diffstat (limited to 'modules/bullet/SCsub')
-rw-r--r-- | modules/bullet/SCsub | 2 |
1 files changed, 2 insertions, 0 deletions
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) |