Hi, I was using the snap to grid extension or making the pick and place mechanic for my game and I found out that it is not accurate, you can see this as the yellow object that snap to grid is not in the nearest grid to the cursor
I know that it might be a user made extension. But, maybe changing the values given might help, But, I donβt know what is happening here Here is what is given:
i dont know the extension, but the formula its using, is pretty much accurate ( i use this formula to correct positions of pathfinding objects, to guarantee that there position perfect)
So your problem lies likely elsewhere.
if i look at your screenshot, i cannot figure out what your grid is.
The objects, that are supposed to be but on the grid should be the same size as a grid cell with 0/0 origin point.
keep the origin points in mind.