Merge pull request #42038 from hoontee/_42027

Fix "Create Trimesh Collision Sibling" transform
This commit is contained in:
Rémi Verschelde 2020-09-14 09:19:42 +02:00 committed by GitHub
commit 45f4d8fc92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();