From b626f162126495fc302ca4a753dffd0b837d0f61 Mon Sep 17 00:00:00 2001 From: hoontee <5272529+hoontee@users.noreply.github.com> Date: Sun, 13 Sep 2020 17:42:52 -0500 Subject: [PATCH] Fix "Create Trimesh Collision Sibling" transform (cherry picked from commit 3cbd626328c84bce645db55062aacd3a334a6973) --- 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 ca50b847045..53dd4f086a6 100644 --- a/editor/plugins/mesh_instance_editor_plugin.cpp +++ b/editor/plugins/mesh_instance_editor_plugin.cpp @@ -140,6 +140,7 @@ void MeshInstanceEditor::_menu_option(int p_option) { CollisionShape *cshape = memnew(CollisionShape); cshape->set_shape(shape); + cshape->set_transform(node->get_transform()); Node *owner = node->get_owner();