diff --git a/scene/3d/collision_polygon.cpp b/scene/3d/collision_polygon.cpp index 37aa95fb43a..a59cce5c66e 100644 --- a/scene/3d/collision_polygon.cpp +++ b/scene/3d/collision_polygon.cpp @@ -44,7 +44,7 @@ void CollisionPolygon::_build_polygon() { if (polygon.size() == 0) return; - Vector > decomp = Geometry::decompose_polygon(polygon); + Vector > decomp = Geometry::decompose_polygon_in_convex(polygon); if (decomp.size() == 0) return;