Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在生成地图时获取地图的中心以知道何时设置块......(制作一圈柱子)
目前我不知道可以在生成块的同时获得地图的中心......
有什么办法吗?
我认为这是中心:
(x: (1/2) * (max_x - min_x), y: (1/2) * (max_y - min_y), z: (1/2) * (max_z - min_z))