Bézier Extrude Tool
Unity editor tool that extrudes 2D shapes along Bézier curves to build meshes inside the engine. Published at CEIG 2025

The problem
Changing the shape of a road, pipe or tunnel usually means going back to Blender or Maya, editing the model, exporting it and reimporting it into the engine. Do that a few times per level and it adds up, and less technical designers often can’t do it at all.
What the tool does
You pick or define a 2D shape, draw a path out of Bézier curves directly in the Unity scene, and the tool extrudes the shape along the path into a triangulated mesh, in real time. Moving a control point updates the mesh immediately. When you’re happy, the result is a normal mesh asset in the project.
The idea came from the procedural track generation in Project: Rush!.
How it’s built
- Curves. The path is a chain of cubic Bézier segments joined with C² continuity, so there are no kinks or visible seams between segments.
- Profiles. 2D shapes are stored as
Shape2DScriptableObjects, so they’re reusable project assets. A few presets are included. - Partial updates. Moving a control point only rebuilds the segments it affects. The whole mesh is only rebuilt when the subdivision settings change.
- Settings. Subdivisions per segment, segment count, profile orientation and material, all from a custom editor window.
- Packaging. Runtime and editor code are split into separate assembly definitions, and the editor window uses Unity’s built-in undo/redo, as Asset Store guidelines require.
Results
In the paper I measured the cost of moving a single control point against rebuilding the whole mesh, for profiles with 8, 16 and 48 vertices. Both grow linearly with the number of subdivisions, and local edits stay cheap enough for interactive editing.
Publication and release
- Paper: Á. Chuan and M. Chover, “Interactive Bézier-Based 2D Extrusion Tool inside game engines: Streamlining Game Asset Creation”, CEIG 2025, Spanish Computer Graphics Conference, Eurographics. Eurographics Digital Library · DOI: 10.2312/ceig.20251109
- Unity Asset Store: free, as Bézier Extrude Tool. Works with the Built-in, URP and HDRP render pipelines.