mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 19:07:16 +00:00
Redoing movement to introduce proper rotation
This commit is contained in:
1 parent
1aa97957d8
commit
29ea65a71e
25 files changed
+423
-1311
No files matched your search
@@ -12,7 +12,7 @@
|
||||
|
||||
extern Zone *zone;
|
||||
|
||||
const int MaxNavmeshNodes = 4092;
|
||||
const int MaxNavmeshNodes = 4096;
|
||||
|
||||
struct PathfinderNavmesh::Implementation
|
||||
{
|
||||
@@ -43,9 +43,9 @@ IPathfinder::IPath PathfinderNavmesh::FindRoute(const glm::vec3 &start, const gl
|
||||
|
||||
if (!m_impl->query) {
|
||||
m_impl->query = dtAllocNavMeshQuery();
|
||||
m_impl->query->init(m_impl->nav_mesh, MaxNavmeshNodes);
|
||||
}
|
||||
|
||||
m_impl->query->init(m_impl->nav_mesh, MaxNavmeshNodes);
|
||||
glm::vec3 current_location(start.x, start.z, start.y);
|
||||
glm::vec3 dest_location(end.x, end.z, end.y);
|
||||
|
||||
|
||||
Reference in new issue
Block a user