diff options
author | hoontee <5272529+hoontee@users.noreply.github.com> | 2020-09-13 17:42:52 -0500 |
---|---|---|
committer | hoontee <5272529+hoontee@users.noreply.github.com> | 2020-09-13 17:42:52 -0500 |
commit | 3cbd626328c84bce645db55062aacd3a334a6973 (patch) | |
tree | d5ac6e179d05e8ab8613aa43d696ce8d12383944 /editor | |
parent | d3b5c0948c943b3fbcb4b5322262c59c92abfa83 (diff) |
Fix "Create Trimesh Collision Sibling" transform
Diffstat (limited to 'editor')
-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(); |