Blender Bezier to Path3D (glTF Import)
Import the Bezier curves you draw in Blender as Path3D nodes in Godot. Draw a path in Blender, export your scene as glTF or GLB, and each curve arrives in Godot as a Path3D whose Curve3D has exactly the same points and handles.
This is the Godot half of a two-part pipeline. The Blender half is an extension called "glTF: Bezier Curves to Godot Path3D": https://github.com/flynneastwood/blender-bezier-to-path3d/tree/main/blender/godot_path3d_export. You need both. The Blender extension writes the curve data into the glTF file, and this plugin turns it back into Godot nodes.
Why this exists
glTF is the best way to move scenes from Blender to Godot, but the format has no curve type. When Blender exports a curve, it writes an empty node, or a mesh if the curve has bevel or extrude geometry. The Bezier data that makes a curve useful as a path is lost. Artists who lay out roads, rails, rivers, cables, camera tracks or patrol routes in Blender have had to rebuild each path by hand in Godot.
This pipeline keeps the path inside the glTF file you already export. Blender stays the single source of truth: change a curve, export again, and Godot reimports it like any other asset.
Quick start
- In Blender, install the extension (Preferences > Get Extensions).
- Copy the
addons/blender_path3d_importfolder into your Godot project. - In Godot, open Project > Project Settings > Plugins and enable "Blender Bezier → Path3D Import".
- In Blender, export with File > Export > glTF 2.0. Curves included in the export carry their Bezier data automatically.
- Put the .glb or .gltf file in your Godot project.
If the glTF file was already in your project before you enabled the plugin, select it in the FileSystem dock and click Reimport in the Import dock.
What you get
Each curve becomes a Path3D that keeps the name of the Blender object and its transform, including the transforms of its parent objects.
- A Bezier spline becomes a Path3D with the same points and handles.
- A cyclic spline becomes a closed curve.
- A Poly spline becomes a curve with straight segments.
- An object with a single spline and no mesh becomes a Path3D with the object's name.
- An object with several splines becomes a Node3D with one Path3D child per spline, named Name_Path1, Name_Path2, and so on.
- A curve with bevel or extrude geometry keeps its mesh, and a Path3D named Name_Path is added as its child.
In testing, points sampled along the imported curves matched Blender's to within about 0.000001 units. The test scene contained open, closed, multi-spline, bevelled and parented curves, with rotation and non-uniform scale.
Using the imported paths
An imported glTF is a normal scene. Drag it into your own scene as usual. To reach the Path3D inside it, for example to assign it to an exported variable or to add a PathFollow3D child, right-click the instance in the Scene dock and enable Editable Children.
For vehicles, cameras or characters that travel along a path, add a PathFollow3D under the Path3D and animate its progress. To place objects along a path, sample the curve from a script. This example instances a scene at a regular spacing:
extends Node3D
@export var path: Path3D
@export var scene: PackedScene
@export var spacing := 2.0
func _ready() -> void:
var curve := path.curve
var distance := 0.0
while distance <= curve.get_baked_length():
var instance := scene.instantiate() as Node3D
add_child(instance)
instance.global_position = path.to_global(curve.sample_baked(distance))
distance += spacing
How it works
The Blender extension adds a custom glTF node extension named BEZIER_path3d to every exported curve object. It is marked as optional, so the file is still valid glTF and other tools simply ignore it.
The extension holds a format version and a list of splines. Each spline has a closed flag and a list of points. Each point is nine numbers: the position, the in-handle and the out-handle, in Godot's Y-up coordinates. The handles are stored relative to the point, which is the same convention as Curve3D.
This plugin registers a GLTFDocumentExtension. During import it reads the BEZIER_path3d data of each node, creates the Path3D nodes and fills in their Curve3D. If a file was written by a newer version of the format, the plugin prints a warning in the Output panel.
Limitations
- Tilt and radius of the control points are not transferred.
- NURBS splines are not supported. The Blender extension skips them and prints a warning.
- Only Blender curve objects are handled. Curve modifiers and shape keys are not exported.
- The plugin works when the editor imports a file. It does not add Path3D nodes when you load a glTF file at runtime with GLTFDocument.
Troubleshooting
There are no Path3D nodes after import. Check that the plugin is enabled, then reimport the file. Check that the Blender extension is installed and enabled, and that the curve object is part of the export (for example, not excluded by a "Selected Objects" setting).
A spline is missing. Splines with fewer than two points are skipped, and so are NURBS splines. The Blender console shows a warning that names the object.
The Output panel shows a format version warning. The file was exported with a newer version of the Blender extension. Update this plugin.
Compatibility
- Godot: tested with 4.7.2.
- Blender: the extension requires Blender 4.2 or later and was tested with Blender 5.3.
- Files exported with the Blender extension still import normally without this plugin, only without the Path3D nodes.
Changelog for version Blender Bezier to Path3D
2026-11-16 19:56:43
No changelog provided for this version.