This multi-part video will also go over how to create a instance/object position exporter from Maya or Blender with Python. And how to write a Loader in Unreal 5 with Blueprints to read in those exported files from Blender or Maya.
Corrections:
rotate_euler.x y z will return radians and should be converted to degrees. This is done below in the following code adjustments.
1. Add "import math" at the top of the code.
2. Change data.append(obj.rotation_euler.x) to data.append(math.degrees(obj.rotation_euler.x))
3. Repeat that change for y and z as well.
Thank you to the viewers for catching this error in the comments below.
Patreon:
/ renderbucket
Discord:
/ discord
7 окт 2024