Skip to content

Commit 290f152

Browse files
committed
Document loading FBX scenes in Run-time file loading and saving
1 parent 51ffca9 commit 290f152

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tutorials/io/runtime_file_loading_and_saving.rst

+8-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Example use cases for runtime file loading and saving include:
1717
- Loading texture packs designed for the game.
1818
- Loading user-provided audio tracks and playing them back in an in-game radio station.
1919
- Loading custom levels or 3D models that can be designed with any 3D DCC that
20-
can export to glTF (including glTF scenes saved by Godot at runtime).
20+
can export to glTF or FBX (including glTF scenes saved by Godot at runtime).
2121
- Using user-provided fonts for menus and HUD.
2222
- Saving/loading a file format that can contain multiple files but can still
2323
easily be read by other applications (ZIP).
@@ -222,6 +222,13 @@ Godot can load and save glTF files in exported projects, in both text
222222
(``.gltf``) and binary (``.glb``) formats. The binary format should be preferred
223223
as it's faster to write and smaller, but the text format is easier to debug.
224224

225+
Since Godot 4.3, FBX scenes can also be loaded at runtime using the
226+
:ref:`class_fbxdocument` and :ref:`class_fbxstate` classes. The code to do so
227+
is the same as glTF, but you will need to replace all instances of
228+
``GLTFDocument`` and ``GLTFState`` with ``FBXDocument`` and ``FBXState`` in the
229+
code samples below. There are `known issues <https://github.com/godotengine/godot/issues/96043>`__
230+
with runtime FBX loading, so using glTF instead is preferred for now.
231+
225232
Example of loading a glTF scene and appending its root node to the scene:
226233

227234
.. tabs::

0 commit comments

Comments
 (0)