This commit is contained in:
2023-10-27 20:38:55 -05:00
parent d7c7491746
commit c63c5e6896
3 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -190,8 +190,8 @@ public class Zone extends AbstractWorldObject {
public void createNavMesh(){
Vector3fImmutable location = this.loc;
int xPoint = (int)(location.x - this.bounds.getHalfExtents().x);
int zPoint = (int) (location.z - this.bounds.getHalfExtents().y);
int xPoint = (int)(this.absX - this.bounds.getHalfExtents().x);
int zPoint = (int) (this.absZ - this.bounds.getHalfExtents().y);
int extentsX = (int) (this.bounds.getHalfExtents().x * 2);
int extentsZ = (int) (this.bounds.getHalfExtents().y * 2);