summaryrefslogtreecommitdiff
path: root/modules/bullet/space_bullet.cpp
diff options
context:
space:
mode:
authorAndrea Catania <info@andreacatania.com>2018-09-22 09:42:19 +0200
committerAndrea Catania <info@andreacatania.com>2018-09-22 09:42:19 +0200
commit29e01f97e459867fbfe9bb065a6d81d577112d6a (patch)
tree9251b76ae13bfb46f76cc8b2d2fc12ab0e50f4dc /modules/bullet/space_bullet.cpp
parent5a03d50921d4d9e33fc3cd4adb1ea663819e2072 (diff)
Added rayshape solver algorithm to soft body configurator fixes #22283 fixes #22249 fixes #22281
Diffstat (limited to 'modules/bullet/space_bullet.cpp')
-rw-r--r--modules/bullet/space_bullet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp
index 404cb8e37b..a4aec25124 100644
--- a/modules/bullet/space_bullet.cpp
+++ b/modules/bullet/space_bullet.cpp
@@ -577,7 +577,7 @@ void SpaceBullet::create_empty_world(bool p_create_soft_world) {
}
if (p_create_soft_world) {
- collisionConfiguration = bulletnew(btSoftBodyRigidBodyCollisionConfiguration);
+ collisionConfiguration = bulletnew(GodotSoftCollisionConfiguration(static_cast<btDiscreteDynamicsWorld *>(world_mem)));
} else {
collisionConfiguration = bulletnew(GodotCollisionConfiguration(static_cast<btDiscreteDynamicsWorld *>(world_mem)));
}