importvirtual-realityunreal-engine4fbxdaydream

Importing any 3d model in unreal engine 4 in-game from local disk


I want to import a 3d model/mesh inside a game. Kinda like import a mesh from file explorer kinda thing. Is there any good way to do this? Without much coding.


Solution

  • I'm assuming you want to load custom 3D meshes (like .fbx or .obj) that weren't preprocesed by editor first and are not in game folders, and you want to do it at runtime while game is playing.

    What I get know from recent reaseach in this topic: UE4 dosen't support any kind of API for loading such meshes, you could legaly use in your game at runtime. There are, of course, existent API for that but it's part of Editor codebase and you are not allowed to use it in game directly, it is restricted by current licence (look at Epic Dev response in this thread).

    In this case you could use thrid-party loaders and integrate them in your project or write your own loaders. Loaded meshes can be displayed using Procedural Mesh Component.