Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Conversation

@DDR4eG
Copy link

@DDR4eG DDR4eG commented Jan 26, 2021

This PR adds a new anim graph state machine node, which takes motion name as an input string parameter, searches it in a current motion set, and plays motion similar to AnimGraphMotionNode.

image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@DDR4eG DDR4eG changed the title V1.27 emfx param motion node EmotionFX parameterized motion node Jan 26, 2021
@DDR4eG DDR4eG marked this pull request as ready for review January 26, 2021 13:44
@AMZN-Gene
Copy link

Very cool! Is there an example use case you'd recommend for using this type of node? What happens if there aren't any motions in the set matching?

@DDR4eG
Copy link
Author

DDR4eG commented Jan 27, 2021

Hi @AMZN-Gene,
I've left a more detailed comment on this with an example in the original forum post (ticket #LY-112755).

An empty motion will be played (T-pose for characters) if there is no motion with a given name in current motionset.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

6 participants