EpicGamesExt / BlenderTools

Blender addons that improve the game development workflow between Blender and Unreal.
https://epicgamesext.github.io/BlenderTools/
MIT License
2.81k stars 61 forks source link

Send to Unreal: Would supporting Unreal mesh/animation folders that are relative to the .blend file be possible/reasonable? #409

Closed JJC1138 closed 2 years ago

JJC1138 commented 2 years ago

image

That currently doesn't work, though, (it seems to fail silently) and I can imagine why, because I see that those options expect UE folder references in the project rather than direct filesystem paths.

Would it be possible/reasonable to support relative folders there, or am I perhaps being silly for putting my .blend files in the Content folder in the first place?

Thanks very much!

james-baber commented 2 years ago

@JJC1138 interesting question. I have typically seen art source files in a plugin location on projects, but can't say if this shouldn't be done or not. I guess what your trying to do here is infer the import path in order to save time having to explicitly input it?

JJC1138 commented 2 years ago

Yes, that's right. It's mainly just to be robust and save time if files are moved around in the hierarchy, but I know it's not a big deal to update the destination to match manually.

james-baber commented 2 years ago

Hmm yea this might be good case for writing a quick extension that resolves this for you pre_operation. Essentially some logic that dynamically adjust the paths based on the blend, or whatever other project conventions, so this doesn't have to be inputted manually.

JJC1138 commented 2 years ago

Oh, that's a great idea. I'll upload it if and when I get around to implementing it. Thank you very much!