Fix "Create Trimesh Collision Sibling" transform

(cherry picked from commit 3cbd626328)
This commit is contained in:
hoontee 2020-09-13 17:42:52 -05:00 committed by Rémi Verschelde
parent df2a907ba6
commit b626f16212
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

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