mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Warn about plane shape usage, closes #26503
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user