1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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