Copy transform when creating convex sibling

This commit is contained in:
checkerWoho 2019-11-02 15:08:50 +01:00
parent 4569f5ec82
commit ec274eeeff

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