forked from MagicBane/Server
load mesh data and structure meshes
This commit is contained in:
@@ -33,13 +33,14 @@ public class ColliderCmd extends AbstractDevCmd {
|
||||
output = "Collision Info:" + newline;
|
||||
output += "Total Meshes: " + building.buildingMeshes.size() + newline;
|
||||
for(Mesh mesh : building.buildingMeshes){
|
||||
output += "-----------------------------";
|
||||
output += "-----------------------------" + newline;
|
||||
output += "Mesh ID: " + mesh.mesh_id + newline;
|
||||
output += "Mesh Location: " + mesh.mesh_location + newline;
|
||||
output += "Mesh Scale: " + mesh.mesh_scale + newline;
|
||||
output += "Mesh Min/Max: " + mesh.mesh_min_y + "/" + mesh.mesh_max_y + newline;
|
||||
output += "Mesh Triangle Count: " + mesh.triangles.size() + newline;
|
||||
output += "Mesh Rect: " + mesh.mesh_bounds + newline;
|
||||
output += "-----------------------------";
|
||||
output += "-----------------------------" + newline;
|
||||
}
|
||||
|
||||
throwbackInfo(pc,output);
|
||||
|
||||
Reference in New Issue
Block a user