Fix "Create Trimesh Collision Sibling" transform

This commit is contained in:
hoontee 2020-09-13 17:42:52 -05:00
parent d3b5c0948c
commit 3cbd626328
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ void MeshInstance3DEditor::_menu_option(int p_option) {
CollisionShape3D *cshape = memnew(CollisionShape3D); CollisionShape3D *cshape = memnew(CollisionShape3D);
cshape->set_shape(shape); cshape->set_shape(shape);
cshape->set_transform(node->get_transform());
Node *owner = node->get_owner(); Node *owner = node->get_owner();