From 9dd9737cb43dc871661945adcc1784756f28a118 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 4 Mar 2019 10:12:03 -0300 Subject: [PATCH] Warn about plane shape usage, closes #26503 --- scene/3d/collision_shape.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scene/3d/collision_shape.cpp b/scene/3d/collision_shape.cpp index daee291ba3f..ac33e2b7148 100644 --- a/scene/3d/collision_shape.cpp +++ b/scene/3d/collision_shape.cpp @@ -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(); }