I am trying to follow this tutorial UnrealEnginePython/FixingMixamoRootMotionWithPython.md at master · 20tab/UnrealEnginePython · GitHub
in order to import mixamo characters and animations (a site that allows rigging your character and free animations), but I am failing at the first hurdle.
Im not entirely sure entirely sure if I need it for all retargeting, or if it is just needed for animations and characters which require root motion. But I am given to understanding that having root as the first bone and not hips would be a good thing. The mixamo characters come with hips as the first bone.I havent actually tried retargeting the animations yet as am missing the root bone.
I think I want this so I can use the mixamo animations with my characters and so that I can apply unreal animations to mixamo imported characters.
Anyway I am trying to follow “Step 2: generating a new skeleton”
I have enabled the “python editor script” plugin and restarted my project (restarted the computer too and started unreal up as admin too).
But when I run it from the “execute python script” on the file menu or from the Python drop down on the output log, it fails.
Running from the The file menu :- “execute python script” gives more error details, but basically falls over on the first line.
LogPython: Error: import unreal_engine as ue
LogPython: Error: ImportError: No module named unreal_engine
I am fairly new to python and this is my first attempt at doing anything in unreal with it.
From some other post it said that unreal engine was already there and so didnt need to be imported or something. What it didnt say was what you would do to make it work !
Also I note he his using python 3.6 and I guess the “python editor script” plugin is some sort of lower version.
P.S. I have a python37 folder on my computer. I opened up a powershell in its directory and ran the python script from there, and got the same sort of error : ModuleNotFoundError no module named “unreal_engine”.
Also I am given to understand that there is some sort of python built in to unreal as well as the “python editor script”" plugin, but I have no idea how to access it.
So what do I need to do to get this script to work ( preferably with the “python script editor” plugin ). Or did something change in the engine and I no longer need a root bone for retargeting? I am using unreal 4.24