2
0
Fork 0

Warn about plane shape usage, closes #26503

3.1
Juan Linietsky 2019-03-04 10:12:03 +07:00
parent b63c506ad8
commit 9dd9737cb4
1 changed files with 4 additions and 0 deletions

@ -124,6 +124,10 @@ String CollisionShape::get_configuration_warning() const {
return TTR("A shape must be provided for CollisionShape to function. Please create a shape resource for it!");
}
if (shape->is_class("PlaneShape")) {
return TTR("Plane shapes don't work well and will be removed in future versions. Please don't use them.");
}
return String();
}