Copy transform when creating convex sibling
This commit is contained in:
parent
4569f5ec82
commit
ec274eeeff
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user