Tweak the Bullet RigidBody kinematic trimesh warning message
This makes it clearer that primitive or convex shapes must be used instead.
This commit is contained in:
parent
0c7c640112
commit
e7934661da
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue