Browse Source

load mesh data and structure meshes

server-collision
FatBoy-DOTC 10 months ago
parent
commit
efdf19f22e
  1. 2
      src/engine/gameManager/BuildingManager.java

2
src/engine/gameManager/BuildingManager.java

@ -1017,7 +1017,7 @@ public enum BuildingManager {
generatedMesh.parent_structure_id = building.meshUUID; generatedMesh.parent_structure_id = building.meshUUID;
generatedMesh.parentUUID = building.getObjectUUID(); generatedMesh.parentUUID = building.getObjectUUID();
generatedMesh.AdoptTriangles(building.getBounds().getQuaternion().angleY); generatedMesh.AdoptTriangles(building.getBounds().getQuaternion().angleY);
generatedMesh.MakeBounds(); //generatedMesh.MakeBounds();
building.buildingMeshes.add(generatedMesh); building.buildingMeshes.add(generatedMesh);
} }
} }

Loading…
Cancel
Save