mirror of
https://github.com/godotengine/godot.git
synced 2025-02-15 15:20:47 +00:00
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);
|
CollisionShape *cshape = memnew(CollisionShape);
|
||||||
cshape->set_shape(shapes[i]);
|
cshape->set_shape(shapes[i]);
|
||||||
|
cshape->set_transform(node->get_transform());
|
||||||
|
|
||||||
Node *owner = node->get_owner();
|
Node *owner = node->get_owner();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user