Skip to content
BleuRaven edited this page Jan 25, 2024 · 13 revisions

Alembic animation

Alembic export and import can take a lot of time.

  1. Select the asset you want to export (Armature with child or Mesh).
  2. Set the Export type property to "Export recursive".
  3. Check the box Export as "Alembic animation".
  4. Don't forget to check the box Alembic animation(s) in Asset types to export. Make sure that the animation was played at least once for baked cache. You can also use the command "bpy.ops.ptcache.bake_all()" to bake the physics.

ExportAssetDocAlembic

Import Alembic assets in Unreal engine using Python

  • After export Alembic copy the Import Script.
    image
  • Paste and run it in Unreal Engine.
    image

To avoid visibility issue you can create an Physics Asset.

  • Right clic on the Skeletal Mesh -> Create -> Physics Asset -> Create and Assign
    image

Import Alembic assets in Unreal engine without Python

  • For Alembic animations assets tick Merge Meshes.
  • Set ImportType to Skeletal.
  • Set FlipU to False and FlipV to True.
  • Set Scale to 100,-100,100 (xyz).
  • Set Rotation to 90,0,0 (xyz).
    Note: Alembic export and import can take a lot of time.

image

Alembic example:

ImportAssetDocAlembicExample

To avoid visibility issue you can create an Physics Asset.

  • Right clic on the Skeletal Mesh -> Create -> Physics Asset -> Create and Assign
    image

Asset Exemple

AlembicExportForUnrealEngine_Gif

Note

Nice to see about Alembic animation:

Clone this wiki locally