Merge pull request #33270 from norkn/fix-issue-27256

Copy transform when creating convex sibling
This commit is contained in:
Rémi Verschelde 2019-11-02 19:28:59 +01:00 committed by GitHub
commit 306c13a210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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