diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-14 09:19:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 09:19:42 +0200 |
commit | 45f4d8fc9295f8fafd7879f4d3f36cd8cb871608 (patch) | |
tree | e6ca0d4e41ff52e881194f4af721df11fb63a7f2 /editor/plugins | |
parent | 95314e3568c4df5dd98947a9c3de38f28db60e79 (diff) | |
parent | 3cbd626328c84bce645db55062aacd3a334a6973 (diff) |
Merge pull request #42038 from hoontee/_42027
Fix "Create Trimesh Collision Sibling" transform
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/mesh_instance_3d_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |