summaryrefslogtreecommitdiffstats
path: root/modules/bullet/bullet_physics_server.cpp
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-09-14 10:52:35 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-09-14 11:16:31 -0700
commitbb75aec8bcd52b37ec206e16c6b6b0237c7ba3fe (patch)
tree4e84395c2f0c6fa79126ef78a47b626537e7ac07 /modules/bullet/bullet_physics_server.cpp
parentfd17ce1890dc9f24b71674b93e72fb1d978cf95b (diff)
downloadredot-engine-bb75aec8bcd52b37ec206e16c6b6b0237c7ba3fe.tar.gz
Rename WorldMarginShape to WorldBoundaryShape
Diffstat (limited to 'modules/bullet/bullet_physics_server.cpp')
-rw-r--r--modules/bullet/bullet_physics_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bullet/bullet_physics_server.cpp b/modules/bullet/bullet_physics_server.cpp
index fc876a81cf..ed05e51e53 100644
--- a/modules/bullet/bullet_physics_server.cpp
+++ b/modules/bullet/bullet_physics_server.cpp
@@ -87,8 +87,8 @@ RID BulletPhysicsServer3D::shape_create(ShapeType p_shape) {
ShapeBullet *shape = nullptr;
switch (p_shape) {
- case SHAPE_PLANE: {
- shape = bulletnew(PlaneShapeBullet);
+ case SHAPE_WORLD_BOUNDARY: {
+ shape = bulletnew(WorldBoundaryShapeBullet);
} break;
case SHAPE_SPHERE: {
shape = bulletnew(SphereShapeBullet);