MeshManager doesn't seem to have a function that uses path, only groupname. Is there another way to load meshes that use path? I think changing the path in my project's "resources2.cfg" file could also work, but having the ability to load meshes from multiple paths seems more flexible.
Is there a function to load Mesh from a custom path?
-
- Halfling
- Posts: 78
- Joined: Wed Jan 25, 2023 9:04 am
- x 5
-
- Bronze Sponsor
- Posts: 493
- Joined: Sun Jan 18, 2015 4:20 pm
- Location: Buenos Aires, Argentina
- x 177
Re: Is there a function to load Mesh from a custom path?
Not as far as I know, but you could add the path dynamically from the code.
Perhaps creating an ad-hoc resource group for single paths or creating a resource group for each path.
-
- Halfling
- Posts: 78
- Joined: Wed Jan 25, 2023 9:04 am
- x 5
Re: Is there a function to load Mesh from a custom path?
Yeah, I tried adding in my custom path to "resources2.cfg" instead of replacing the original model path and it can load from both paths, so I guess modifying "resources2.cfg" is the way.