Physics Snap To Grid

Godot Version



I’m currently working on a procedural method that involves spawning “rooms” with collision boxes on top of each other and letting the physics system push them apart. Is there a way to ensure that they get pushed to exact 32 pixel increments so it correlates to a tile map better. I saw something about move_and_slide_snapped but I’m not using any movement related functions so I don’t think that would work for me without a rework. How can I accomplish this?