daz3d / DazToUnreal

Daz to Unreal Bridge
Apache License 2.0
155 stars 46 forks source link

Regular (non aniblock) Animation doesn’t work in UE5/5.1 #35

Open Milliethegreat opened 1 year ago

Milliethegreat commented 1 year ago

I import a non aniblock animation to UE5/5.1 and it doesn’t animate in UE5/5.1 editor or take recorder. I select include animations and still doesn’t work. Am I doing something wrong? I need it to work in take recorder for CG animation. Should I run it in cinematic project instead of game project?

danielbui78 commented 1 year ago

It appears to be working for me with the latest bridge hotfix and Unreal 5.1 and Genesis 8.1. Make sure you are following these steps below. Sending Daz animations to Unreal is a two part process:

Part 1:

  1. Make sure Daz figure in default A-pose (or T-pose if G3). It is better if you do not add animation to Daz Studio at this stage.
  2. Make sure the Daz figure is selected and use File->Send To->Daz to Unreal. Use "Skeletal Mesh" as the Asset Type in Daz To Unreal Bridge. Click Accept.
  3. Make sure the figure has imported successfully into your Unreal project. You need to make sure that whatever skeleton is used during the import process for the skeletal mesh is the same skeleton that is used in the next part.

Part 2:

  1. Go back to Daz Studio and add the animation to your Daz figure in Daz Studio, make sure there are keyframes in the Daz Studio Timeilne Pane and that scrubbing through the timeline to each keyframe causes the animation to change as desired.
  2. Make sure the figure is selected and use File->Send To->Daz to Unreal. Use "Animation" as the Asset Type in the Daz to Unreal Bridge. Click Accept.
  3. Unreal should generate an "Animation Sequence". Make sure that the skeleton is the same as the one being used by the skeletal mesh. You should now be able to open the animation sequence and set the Preview Mesh (if it is not already set) to the skeletal figure in part 1.

If this doesn't work, then please post with video, screenshots and detailed information to reproduce the problem including:

  1. Name of Daz figure and all Daz assets used and the Daz store link.
  2. Name of the animation used and Daz store link if available.
  3. Version of Daz Studio (are you using a beta release?)
  4. Version of Daz to Unreal bridge
  5. Version of Unreal Engine
Milliethegreat commented 1 year ago

I don’t see animation as an asset type. There’s no way to change asset type. I see include animation under properties in DTU on Daz side. Is that what you mean. Please correct me and explain what you mean a little further. Thanks

Milliethegreat commented 1 year ago

I’m using Kenzie Kenzie from renderhub The divide The divide from Daz store HoloLens prop (fbx converted to obj in blender and imported using obj importer Daz 4.21 Unreal Engine 5.1 DTU 2022.2 rev 18.23

danielbui78 commented 1 year ago

Instructions to find and select the "Animation" Asset Type in Daz to Unreal Bridge:

  1. In Daz Studio, click File -> Send To -> Daz to Unreal.
  2. The Daz to Unreal Bridge dialog window should open.
  3. In the Daz to Unreal dialog window, find the label with the words "Asset Type" on the left side. If a Daz character is selected in your scene, then the drop-down menu next to it should be "Skeletal Mesh".
  4. Click the drop-down menu (which should be "Skeletal Mesh") and you will see the drop-down menu choices. Please refer to picture.

select animation asset type, step 1

  1. From the drop-down menu, click "Animation". The drop-down should close and you should now see "Animation" next to the "Asset Type" label. Please refer to picture below.

select animation asset type, step 2

  1. You can now click "Accept" to send the animation to Unreal Engine. Please note, that you must also have a Skeletal Mesh of the character sent to Unreal in order to preview the animation with an actual mesh in Unreal.
Milliethegreat commented 1 year ago

I followed the instructions but the character isn’t moving in editor. Does she move in take recorder? Or is the animation only gonna move In runtime?Sent from Millie S.’s iPhoneOn May 15, 2023, at 9:08 AM, danielbui78 @.***> wrote: Instructions to find and select the "Animation" Asset Type in Daz to Unreal Bridge:

In Daz Studio, click File -> Send To -> Daz to Unreal. The Daz to Unreal Bridge dialog window should open. In the Daz to Unreal dialog window, find the label with the words "Asset Type" on the left side. If a Daz character is selected in your scene, then the drop-down menu next to it should be "Skeletal Mesh". Click the drop-down menu (which should be "Skeletal Mesh") and you will see the drop-down menu choices. Please refer to picture.

From the drop-down menu, click "Animation". The drop-down should close and you should now see "Animation" next to the "Asset Type" label. Please refer to picture below.

You can now click "Accept" to send the animation to Unreal Engine. Please note, that you must also have a Skeletal Mesh of the character sent to Unreal in order to preview the animation with an actual mesh in Unreal.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Milliethegreat commented 1 year ago

I followed the instructions for aniblocks and non aniblocks and my character isn’t moving in viewport or take recorder. Is it a in-game only thing or am I doing something wrong?Sent from Millie S.’s iPhoneOn Apr 3, 2023, at 8:47 AM, danielbui78 @.***> wrote: It appears to be working for me with the latest bridge hotfix and Unreal 5.1 and Genesis 8.1. Make sure you are following these steps below. Sending Daz animations to Unreal is a two part process: Part 1:

Make sure Daz figure in default A-pose (or T-pose if G3). It is better if you do not add animation to Daz Studio at this stage. Make sure the Daz figure is selected and use File->Send To->Daz to Unreal. Use "Skeletal Mesh" as the Asset Type in Daz To Unreal Bridge. Click Accept. Make sure the figure has imported successfully into your Unreal project. You need to make sure that whatever skeleton is used during the import process for the skeletal mesh is the same skeleton that is used in the next part.

Part 2:

Go back to Daz Studio and add the animation to your Daz figure in Daz Studio, make sure there are keyframes in the Daz Studio Timeilne Pane and that scrubbing through the timeline to each keyframe causes the animation to change as desired. Make sure the figure is selected and use File->Send To->Daz to Unreal. Use "Animation" as the Asset Type in the Daz to Unreal Bridge. Click Accept. Unreal should generate an "Animation Sequence". Make sure that the skeleton is the same as the one being used by the skeletal mesh. You should now be able to open the animation sequence and set the Preview Mesh (if it is not already set) to the skeletal figure in part 1.

If this doesn't work, then please post with video, screenshots and detailed information to reproduce the problem including:

Name of Daz figure and all Daz assets used and the Daz store link. Name of the animation used and Daz store link if available. Version of Daz Studio (are you using a beta release?) Version of Daz to Unreal bridge Version of Unreal Engine

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>