Quick answer: Godot 4 ConcavePolygonShape3D rebuild blocking the frame for 100ms+ on procedural mesh? Concave is expensive to bake; use ConvexPolygonShape3D where possible.

Procedural terrain chunk rebuild; concave shape bake; 150ms freeze.

Use convex shapes

Multiple convex shapes approximating the mesh. Each bakes fast; combined as union.

Or move bake to worker thread

Background bake; swap collision when ready. Main thread responsive.

Use HeightMapShape3D

For heightmap-style terrain, HeightMapShape3D is purpose-built. Faster.

“Physics shape baking is heavy. Pick the right shape.”

If your procedural physics blocks frames, the shape choice is the design decision.

Related reading