4X4X4 building system, Block detection

Hello
I have made 4X4X4 building system and it works well, but i ran into problems…
Sometimes system places blocks in blocks…
How can i detect if there is block in block? (As models)

If you have a hitbox in all of your placement objects, then simply check if the hitbox is touching anything that is a descendant of your placed objects folder/model.

If not, then try either adding a hitbox OR try checking if individual parts of the model you’re placing are touching any objects.

If it is touching something that is on the building area, then don’t allow it to be placed.

2 Likes

Thank you, this will help A loot

1 Like