1
This commit is contained in:
parent
3dd8c03183
commit
4d32e1cc9b
@ -434,7 +434,7 @@ bool MapInstance::Raycast(int layer, const glm::vec3& start, const glm::vec3& en
|
|||||||
|
|
||||||
float h = 0;
|
float h = 0;
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
Scale(dir);
|
//Scale(dir);
|
||||||
|
|
||||||
for (int ii = npolys - 1; ii >= 0; --ii) {
|
for (int ii = npolys - 1; ii >= 0; --ii) {
|
||||||
auto ret = navmesh_query_->getPolyHeight(polys_[ii], hit_pos_copy, &h);
|
auto ret = navmesh_query_->getPolyHeight(polys_[ii], hit_pos_copy, &h);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user