From 3cbd626328c84bce645db55062aacd3a334a6973 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: Fix "Create Trimesh Collision Sibling" transform --- editor/plugins/mesh_instance_3d_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor') diff --git a/editor/plugins/mesh_instance_3d_editor_plugin.cpp b/editor/plugins/mesh_instance_3d_editor_plugin.cpp index 1b65987af0..5b241deab0 100644 --- a/editor/plugins/mesh_instance_3d_editor_plugin.cpp +++ b/editor/plugins/mesh_instance_3d_editor_plugin.cpp @@ -138,6 +138,7 @@ void MeshInstance3DEditor::_menu_option(int p_option) { CollisionShape3D *cshape = memnew(CollisionShape3D); cshape->set_shape(shape); + cshape->set_transform(node->get_transform()); Node *owner = node->get_owner(); -- cgit v1.2.3