How to create 3D tile maps using a Plane object divided into tiles?
问题 I want to create a 2D plane centered on 0,0,0 in 3D world space. Then, I want to define this plane in 2d tile coordinates. So e.g. a plane divided by 3 tiles would become a map of an array [3,3] The issue is that this would still give a tilemap with negative points. The world upper left -1,1 would be 0,0 in the array -1,- would be 1,0 and so on... World: -1,1 0,1 1,1 -1,0 0,0 1,0 -1,-1 0,-1 1,-1 Array: 0,0 0,1 0,2 1,0 1,1 1,2 2,0 2,1 2,2 My main hope with Unity was that I could avoid the math