mirror of
https://github.com/godotengine/godot.git
synced 2025-01-30 21:33:18 +08:00
Merge pull request #42038 from hoontee/_42027
Fix "Create Trimesh Collision Sibling" transform
This commit is contained in:
commit
45f4d8fc92
@ -138,6 +138,7 @@ void MeshInstance3DEditor::_menu_option(int p_option) {
|
||||
|
||||
CollisionShape3D *cshape = memnew(CollisionShape3D);
|
||||
cshape->set_shape(shape);
|
||||
cshape->set_transform(node->get_transform());
|
||||
|
||||
Node *owner = node->get_owner();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user