- Home /
Question by
TheAwsomeMan · Feb 02, 2013 at 06:48 AM ·
crafting
How do i make cube Grid like Minecraft?
its like the air block when where the camera follows the air block will touch the ground anywhere.
i cant create the script like this :(
var CubeGrid : GameObject;
function CubeGrid
CubeGrid.Create.axis = x,y
i really get this wrong :(
Comment
Answer by Aram-Azhari · Feb 02, 2013 at 08:09 AM
Here's an open source Minecraft-like starter package: MinePackage - Minecraft starter package
I believe you that will find the necessary code your are looking for in that thread.
Answer by Lordinarius · Feb 02, 2013 at 08:47 AM
You could look at these links
http://answers.unity3d.com/questions/240426/snap-to-grid-after-click-and-drag.html
and
Your answer
![](https://koobas.hobune.stream/wayback/20220613092015im_/https://answers.unity.com/themes/thub/images/avi.jpg)