EpicGamesExt / BlenderTools

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

Send to Unreal - Camera Support UE5 #499

Open hervus2 opened 1 year ago

hervus2 commented 1 year ago

Hi guys, I'm trying to export a Camera to UE using the addon but it's not working! The camera is in the "Export" collection and it keeps telling that the object is not under the "Export" collection! Is it a bug or does the feature still not exist?

Thanks

In the description paste in and edit the following:

james-baber commented 1 year ago

Hey @hervus2 currently cameras are not supported. Only Static Mesh, Skeletal Mesh, and AnimSequence asset types

hervus2 commented 1 year ago

Thanks for your answer James. That will be also a great feature to keep all stream line! :)

james-baber commented 1 year ago

Yea it might be some thing we can leave open as a feature request, but I assume your wanting to import it into a level sequence correct?

The tool has really been scoped to pushing asset types to the content browser, once we support placing assets in level sequences it opens another can of worms and level sequence round tripping, etc. Maybe leveraging USD for the level sequence part of the workflow, and send2ue for creating/updating assets that aren't fully supported by the USD workflow would be a good approach for now.

Ill leave this open so this conversation can continue but I think realistically this would require a re-design, otherwise we'd be stuffing in a feature that doesn't fit into the uasset paradigm.

hervus2 commented 1 year ago

Thanks for the clarifications James. Besides that, I found a way how to import a camera without any plugins (it requires several steps but it works). I've just found also a video about using USD! I might use it for a more solid workflow... :) https://www.youtube.com/watch?v=si0VktD8thE

lee2key commented 1 year ago

Hello! I found this addon for exporting a camera to UE. It supports all animated parameters and there are no any issues. It's free addon and maybe Epic developers can use code in this addon. https://github.com/xavier150/Blender-For-UnrealEngine-Addons

hervus2 commented 1 year ago

About the addon Blender for UnrealEngine... same, it works fine for assets in UE5 but not for exporting cameras, as the Python script by the Sequencer!!!

lee2key commented 1 year ago

About the addon Blender for UnrealEngine... same, it works fine for assets in UE5 but not for exporting cameras, as the Python script by the Sequencer!!!

Hm, Interesting... On the contrary, I came to the conclusion that this addon (Blender for Unreal) exports the camera and the exact values of keyframes best of all. But standard exports produce a lot of errors in values and problems. Maybe you're doing something wrong, or I misunderstood you. We can discuss this issue separately if you want. lee2key@ya.ru

hervus2 commented 1 year ago

I was exporting only the camera without any animation... maybe it's the reason why is not perfectly aligned and in position!!! Will try that...