Improve CollisionObject/CollisionObject2D warning message
This commit is contained in:
parent
e790ca084d
commit
a5688ccd90
2 changed files with 2 additions and 2 deletions
|
@ -336,7 +336,7 @@ String CollisionObject2D::get_configuration_warning() const {
|
|||
if (warning == String()) {
|
||||
warning += "\n";
|
||||
}
|
||||
warning += TTR("This node has no children shapes, so it can't interact with the space.\nConsider adding CollisionShape2D or CollisionPolygon2D children nodes to define its shape.");
|
||||
warning += TTR("This node has no shape, so it can't collide or interact with other objects.\nConsider adding a CollisionShape2D or CollisionPolygon2D as a child to define its shape.");
|
||||
}
|
||||
|
||||
return warning;
|
||||
|
|
|
@ -373,7 +373,7 @@ String CollisionObject::get_configuration_warning() const {
|
|||
if (warning == String()) {
|
||||
warning += "\n";
|
||||
}
|
||||
warning += TTR("This node has no children shapes, so it can't interact with the space.\nConsider adding CollisionShape or CollisionPolygon children nodes to define its shape.");
|
||||
warning += TTR("This node has no shape, so it can't collide or interact with other objects.\nConsider adding a CollisionShape or CollisionPolygon as a child to define its shape.");
|
||||
}
|
||||
|
||||
return warning;
|
||||
|
|
Loading…
Reference in a new issue