Skip to content

achoruzy/B2UE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B2UE

Toolset for Blender and Unreal Engine import/export operations

Contains:

Blender scripts:

B2UE.py - generates properly models for export to UE with proper localization, rotation and sockets to use in UE.

Models needs to be parented and have applied rotation and scale. Base model need to be X-forward and applied transform. Models that need specific pivot location or specific directions has to have properly located origin.

To export from Blender select all the objects in EXPORT_OBJECTS collection (both models and empties) and nothing else. Exported FBX file on import to UE will automatically generate sockets having names consistent with parts to set into sockets.

Unreal scripts:

assemble_sockets_to_bp.py - Unreal Engine script that automates creating assembly blueprint of multi part models with use of given sockets.

The scripts searches for parts only in the same directory where the base part is. The base part should be named with suffix _base and names of sockets and subparts should be corelated (best to use B2UE.py script for Blender).

NOTE: Unfortunatelly, UE doesn't allow assigning parent sockets in components from python script!

To make it work execute the script in UE editor first, then Create assembly blueprint is given under StaticMesh asset context menu (RMB on asset in Context Browser). If conditions are fullfilled, there will be created a new BP in this directory.


Copyright (C) 2024 Arkadiusz Choruży

About

Blender to Unreal Engine pipeline tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages