Fix "Create Trimesh Collision Sibling" transform
This commit is contained in:
parent
d3b5c0948c
commit
3cbd626328
|
@ -138,6 +138,7 @@ void MeshInstance3DEditor::_menu_option(int p_option) {
|
||||||
|
|
||||||
CollisionShape3D *cshape = memnew(CollisionShape3D);
|
CollisionShape3D *cshape = memnew(CollisionShape3D);
|
||||||
cshape->set_shape(shape);
|
cshape->set_shape(shape);
|
||||||
|
cshape->set_transform(node->get_transform());
|
||||||
|
|
||||||
Node *owner = node->get_owner();
|
Node *owner = node->get_owner();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue