You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Merge pull request #44183 from madmiraal/box_shape-size
Use a size Vector for adjusting the size of Rectangles and Boxes
This commit is contained in:
@@ -178,7 +178,7 @@ void NavigationMeshGenerator::_parse_geometry(Transform p_accumulated_transform,
|
||||
if (box) {
|
||||
Ref<BoxMesh> box_mesh;
|
||||
box_mesh.instance();
|
||||
box_mesh->set_size(box->get_extents() * 2.0);
|
||||
box_mesh->set_size(box->get_size());
|
||||
mesh = box_mesh;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user