From ec274eeeffad81805855096d02aa625940aa20d2 Mon Sep 17 00:00:00 2001 From: checkerWoho Date: Sat, 2 Nov 2019 15:08:50 +0100 Subject: [PATCH] Copy transform when creating convex sibling --- editor/plugins/mesh_instance_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/mesh_instance_editor_plugin.cpp b/editor/plugins/mesh_instance_editor_plugin.cpp index 635b9343331..22df8fd8f44 100644 --- a/editor/plugins/mesh_instance_editor_plugin.cpp +++ b/editor/plugins/mesh_instance_editor_plugin.cpp @@ -180,6 +180,7 @@ void MeshInstanceEditor::_menu_option(int p_option) { CollisionShape *cshape = memnew(CollisionShape); cshape->set_shape(shapes[i]); + cshape->set_transform(node->get_transform()); Node *owner = node->get_owner();