Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unreal: Standalone loader for animation #3

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

antirotor
Copy link
Member

Note

This is port of ynput/ayon-core#581 from ayon-core. For comments and review notes, please have a look at the conversation in the original PR.

Changelog Description

Implemented a standalone loader for animation that do not require a layout to be loaded first.

Additional info

Loader for Animation in Unreal is heavily based on the original solution using Blender and Unreal. Animation published from Maya doesn't have that layout json and so loading such animation will fail.

Copy link
Member

@LiborBatek LiborBatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to load skeletonMesh and skeletonAnim products into UE 5.4 and successfully place an actor into the active level.

All seems working fine.

Screenshot 2024-06-18 125617

There is still need to apply rotate X 90 deg on the actor to be correctly aligned with UE World and matching maya world orientation tho.

there is a an actor option which helps but just when not replaying the anim unfortunately... the asset set pos correctly when not realtime mode active.

UE_AnimActor_Setting

@antirotor
Copy link
Member Author

I can't find reasonable combination where you either see correct orientation in the editor and wrong during playback, or vice-versa - or without rotating instantiated actor 90 degrees. Lets try to solve it in another PR.

@antirotor antirotor merged commit eb264e5 into develop Jun 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants