Fix "Create Trimesh Collision Sibling" transform
(cherry picked from commit 3cbd626328
)
This commit is contained in:
parent
df2a907ba6
commit
b626f16212
|
@ -140,6 +140,7 @@ void MeshInstanceEditor::_menu_option(int p_option) {
|
||||||
|
|
||||||
CollisionShape *cshape = memnew(CollisionShape);
|
CollisionShape *cshape = memnew(CollisionShape);
|
||||||
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