How do I add collision whenever a block is hovering over another block?
is it supposed to be gridded, is it using raycasting, can i get a sample of the script?
It is gridded no raycasts
what is your method of getting the position
Mouse positions
although mouse positon and raycast are pratically the same thing you can continue using mouse positon but i suggest raycast because you can modify it more and with mouse position you can exclude anything
let me see your current gridding system
This handles the gridding
local cframe = CFrame.new(math.round(mouse.hit.Position.X/1)*1, mouse.hit.Position.Y + preview.PrimaryPart.Size.Y/2, math.round(mouse.hit.Position.Z/1)*1)
try using math.floor instead of math.round if that fixes anything your still far from done yet
and show me the result so i can see whats happening
It doesn’t make a difference
send a picture of whats happening
It still overlaps the other block like in the picture I sent
add a 0.5 to all the values and see if that works
it makes the stud .5
u added it to everything? right
ye
ill try to fix it on my own using the cframe equation you gave me
so after testing it a little i figured out that this really isnt a much of a gridding system
I have two gridding systems they both work good but one is buggy would u like the good one or would you like me to actually teach u