Early Access

Roblox Fragment & Sweep API — Voxel Alternative Context

Content subject to update as VOXEL DESTRUCT 2 develops.

Roblox destruction physics Fragment API versus voxels

What the Fragment API Offers

Roblox's Studio beta introduced Solid Modeling on Meshes plus Fragment and Sweep APIs — letting developers shatter mesh parts along fracture planes without manually spawning thousands of voxels. DevForum discussions in 2025–2026 position it as an alternative to custom voxel queues for some use cases.

Fragment-based destruction excels on individual MeshParts with clean fracture surfaces. It does not automatically replicate Teardown-scale structural collapse across entire buildings without additional connectivity graphs — the problem VD2 and Shatterbox solve with voxels plus weld debris.

Voxel Engines vs Fragment Shattering

  • Voxel pipelines (VD2, VoxelDestruct, Shatterbox) — Subdivide arbitrary structures into cells, greedy-mesh results, track connectivity for collapse, queue breaks for performance.
  • Fragment API — Split a mesh into fewer large shards quickly; lighter for single-object breaks, harder to scale across compound buildings with mixed materials.
  • CSG Voxel modules — GeometryService:SubtractAsync with voxelized hitboxes; DevForum authors note thin-wall edge cases and recommend Shatterbox for production.
  • Destruction Modules — ecosystem map

Why This Matters for VD2 Players

You cannot toggle Fragment mode inside VOXEL DESTRUCT 2 — the experience ships whatever_dev()'s proprietary voxel stack. Knowing the Fragment API exists explains DevForum debates about “why not use official APIs” and sets realistic expectations for future engine pivots.

If the studio ever hybridizes Fragment shards with voxel connectivity, patch notes would likely mention mesh fracture alongside greedy meshing — watch our changelog after major Roblox platform updates.

<a href="/physics/greedy-meshing/">Greedy Meshing</a> — VD2's current optimization approach

Developer Takeaways

Creators building their own destruction games choose between Fragment simplicity, open-source voxel modules, and commercial sandboxes like VD2. Each path trades art fidelity, performance, and replication complexity differently.

VOXEL DESTRUCT 2 consumers benefit indirectly when Roblox improves mesh APIs — but gameplay today remains voxel-first with SDF precision and structural collapse graphs.

Related Guides

Frequently Asked Questions

Will VD2 switch to Fragment API?
No announcement. The current early access engine is voxel-based with greedy meshing.
Is Fragment API faster than voxels?
For single meshes, often yes. For whole-building demolition with gravity chains, voxels plus welds remain the Roblox standard.
Can players enable Fragment mode?
No. Engine choice is developer-side in Roblox Studio, not a client setting.
Where to learn Fragment API?
Roblox Creator Documentation and DevForum Studio Beta threads — outside this VD2 wiki scope but linked from our modules overview.