aws / lumberyard

Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.
Other
2.02k stars 539 forks source link

EmotionFX: Ability for SimpleMotionComponent & AnimGraphComponent to exist on same entity #540

Open DDR4eG opened 3 years ago

DDR4eG commented 3 years ago

This PR makes it possible to use both SimpleMotion and AnimGraph components on the same entity. Such actor setup can be used for animating character emotes, in cutscenes, etc.

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

AMZN-Gene commented 3 years ago

Nice! I could also see this being useful for debugging. Sometime I want to quickly make sure a particular animation looks good, but have to either open up emfx editor and play the anim, or delete the animgraph component, add the simple component, play the simple component, and then swap them back again. Thanks!