Importing not preloaded model as a Mod


#1

Hi is there any way to load in game models that i have not added to main game.
Lets say i make a game ,and then a guy says ,hey i want to add a new model for a sword, does he has any way to do it ,or its impossible without doing it like in guide ,like import model ,then convert to j3o


#2

You might want to look into a thing called FileLocator. It allows you to load files from anywhere on the disk, not just the assets folder.


#3

You can import models at runtime in various formats, using a custom asset locator.

The most reliable file format is j3O, of course, but you can import Blender, Ogre, and glTF models too, within certain limitations.


#4

…as long as you include the plugins for those loaders in your project dependencies.