summaryrefslogtreecommitdiffstats
path: root/scene/2d/collision_polygon_2d.cpp
diff options
context:
space:
mode:
authorfabriceci <fabricecipolla@gmail.com>2022-08-25 19:35:52 +0200
committerfabriceci <fabricecipolla@gmail.com>2022-08-26 12:26:25 +0200
commitf8cc88fab3e62f39e6cc0d4ca91bfb760477cb9a (patch)
tree3a40af806ef5623d64dbd6fa7223c914551dd29a /scene/2d/collision_polygon_2d.cpp
parentdc4193b478dec409132bf50d90fdb4c6760a109a (diff)
downloadredot-engine-f8cc88fab3e62f39e6cc0d4ca91bfb760477cb9a.tar.gz
Restore RigidBody2/3D, SoftBody names in physics
Diffstat (limited to 'scene/2d/collision_polygon_2d.cpp')
-rw-r--r--scene/2d/collision_polygon_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/collision_polygon_2d.cpp b/scene/2d/collision_polygon_2d.cpp
index 8df29851e5..04cd999982 100644
--- a/scene/2d/collision_polygon_2d.cpp
+++ b/scene/2d/collision_polygon_2d.cpp
@@ -239,7 +239,7 @@ TypedArray<String> CollisionPolygon2D::get_configuration_warnings() const {
TypedArray<String> warnings = Node::get_configuration_warnings();
if (!Object::cast_to<CollisionObject2D>(get_parent())) {
- warnings.push_back(RTR("CollisionPolygon2D only serves to provide a collision shape to a CollisionObject2D derived node. Please only use it as a child of Area2D, StaticBody2D, RigidDynamicBody2D, CharacterBody2D, etc. to give them a shape."));
+ warnings.push_back(RTR("CollisionPolygon2D only serves to provide a collision shape to a CollisionObject2D derived node. Please only use it as a child of Area2D, StaticBody2D, RigidBody2D, CharacterBody2D, etc. to give them a shape."));
}
int polygon_count = polygon.size();