mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Made the tiles 1/2 their current size. (16x16 instead of 32x32)
This commit is contained in:
@@ -13,7 +13,7 @@ namespace SS3D.Modules.Map
|
||||
public BaseTile[,] tileArray; // The array holding all the tiles that make up the map
|
||||
public int mapWidth; // Number of tiles across the map (must be a multiple of StaticGeoSize)
|
||||
public int mapHeight; // Number of tiles up the map (must be a multiple of StaticGeoSize)
|
||||
public int tileSpacing = 32; // Distance between tiles
|
||||
public int tileSpacing = 16; // Distance between tiles
|
||||
public AxisAlignedBox[,] boundingBoxArray;
|
||||
|
||||
private OgreManager mEngine;
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace SS3D_shared
|
||||
public Mesh wallMesh;
|
||||
public Mesh spaceMesh;
|
||||
|
||||
private float tileX = 16.0f; // How far from X = 0 relative to the tile it extends
|
||||
private float tileZ = 16.0f; // How far from Z = 0 relative to the tile it extends (this should always == tileX so i don't know why i put this here)
|
||||
private float tileX = 8.0f; // How far from X = 0 relative to the tile it extends
|
||||
private float tileZ = 8.0f; // How far from Z = 0 relative to the tile it extends (this should always == tileX so i don't know why i put this here)
|
||||
private float tileBottom = 4.0f; // The "bottom" of all tiles - how far under Y = 0 it extends
|
||||
private float floorHeight = 0.0f; // How far above Y = 0 the top of a floor is
|
||||
private float wallHeight = 40.0f; // How far about Y = 0 the top of a wall is
|
||||
|
||||
Reference in New Issue
Block a user