mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
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);
|
||||
cshape->set_shape(shape);
|
||||
cshape->set_transform(node->get_transform());
|
||||
|
||||
Node *owner = node->get_owner();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user