k, ill try this now and let u know if it works
i changed my move to 0.01 and it still did this
i did it very small, still a gap…
Even with 0.001 studs? It’s barely noticeable.
yep, still a gap… lemme try even smaller
whats weird is that it used to work perfectly and now it doesnt. maybe roblox updated something with touching parts
The smallest it can get to is 0.001, since the actual decimal limit is 3 numbers.
Is there any other part inside the model or anything else?
there is a roof part, above it, but i deleted it and tried again and it still didn’t work so that isn’t the problem
Wait, so is the actual part a floor, table or what? Unless it’s a floor, it can have gaps. It’s natural.
its a floor, basically a foundation thing, like rust
Maybe make the hitbox have gaps, but after the placement, make the floor bigger.
This is how it can work, experimentally:
local part = Instance.new("Part", workspace)
while task.wait(0.05) do
part.Size += Vector3.new(0.1,0,0.1)
end
--Increases in size time to time.
its ok, ill eventually find a solution for it, it’ll take time
If I do ever provide a message, you can mark solution in this message. I’ll still try to find what can work best.
Have you tried using WorldRoot:GetPartBoundsInBox() instead? You could set the CFrame to the part CFrame, but make the Vector3 size 0.01 smaller on each axis or something. It won’t affect the visible size of the block.
Could you give me an example code of how i would do this?
You can actually build in less than .001 studs. The display only reads the rounded off value of .001 studs.
Place 1 Part at Position 0,0,0 and set another one beside it so their corners match up exactly and zoom ALL the way in so you can see where the 2 edges meet. Now select the first Part, go to the Position Property and manually enter .0003 studs in the axis you want to see the movement. Hit enter, and in the viewport you’ll see the edge move .0003 studs. The value won’t change in the Properties Position value, but if you reenter the value as .0006 studs you’ll see the Part move a bit more and the displayed value will round up to .001 studs.
Try searching ‘building on a grid’ on the forums.
I just did and found this post about snapping items to a grid system that allows different sizes of blocks on a grid. Grid building different sizes
He tried 0.001 studs but didn’t work, there was still a “noticeable gap”?
Yes, there was still a gap I still can’t fix it