How to open 3D models from user dir

Godot Version

4.1

Question

How do I open a 3D object (.obj) from the player directory, and place it inside a MeshInstance3D?

How do I use FileDialog to take a file with the .OBJ extension and place this 3D model into the game ?(Put the file data into a MeshInstance3D)

There’s no built-in way of doing it for obj files. You’ll need to use a plugin like OBJExporter - Godot Asset Library (it has import options)

Here’s a documentation page to load other types of files at runtime Runtime file loading and saving — Godot Engine (stable) documentation in English

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.