mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 15:50:45 +00:00
Fix GridMap not adding custom mesh offsets to NavigationMesh generation
Fix GridMap not adding custom mesh offsets to NavigationMesh generation
This commit is contained in:
parent
01d383a8ff
commit
ae4b2597a1
@ -970,7 +970,7 @@ Array GridMap::get_meshes() const {
|
||||
xform.set_origin(cellpos * cell_size + ofs);
|
||||
xform.basis.scale(Vector3(cell_scale, cell_scale, cell_scale));
|
||||
|
||||
meshes.push_back(xform);
|
||||
meshes.push_back(xform * mesh_library->get_item_mesh_transform(id));
|
||||
meshes.push_back(mesh);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user