Keep track of space on a grid?: On a grid of 5x5 blocks, I'm moving objects which take up some of the space on the grid, now if I were to for say, add another object, how would I be able to know if there is enough space for it on the grid?
Picture Example: Example 1
Based off of that, how would I calculate whether there is enough space for another object on the grid
Hopefully someone can get me a start on this, because I have no idea where to start.
Object Collision?: Since I'm moving my objects using CFrame, I'm not able to tell whether the object is in another object, I know you can get touching parts, but I'd like the object not to collide with the other objects on the grid.
If used a Vector3 instead of CFrame, and kept the y-axis the same every time I move it, will that make it not able to go over the object and not collide into it?, since Vector3 has its own built in collision detection, and since the y-axis can't change, it won't go over the object either??
For example if there's a rock on the grid, it will not go over it nor collide into it, will Vector3 be able to do that if you keep the y-axis the same every time, or what?
Instead of that, I could use :GetTouchingParts() but I would like to see what I can do.
I have no example code sadly, I deleted what I've already tried, but I just need some feedback and information to get me a good start on this.
