Преглед изворни кода

Merge pull request #57940 from Calinou/bullet-tweak-kinematic-trimesh-warning-message

Rémi Verschelde пре 3 година
родитељ
комит
118494db8a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/bullet/rigid_body_bullet.cpp

+ 1 - 1
modules/bullet/rigid_body_bullet.cpp

@@ -252,7 +252,7 @@ void RigidBodyBullet::KinematicUtilities::copyAllOwnerShapes() {
 				shapes.write[i].shape = static_cast<btConvexShape *>(shape_wrapper->shape->create_bt_shape(owner_scale * shape_wrapper->scale, safe_margin));
 			} break;
 			default:
-				WARN_PRINT("This shape is not supported to be kinematic!");
+				WARN_PRINT("RigidBody in 3D only supports primitive shapes or convex polygon shapes. Concave (trimesh) polygon shapes are not supported.");
 				shapes.write[i].shape = nullptr;
 		}
 	}