Skip to content

Make AnimationTransitions component, be able to transition nodes. #18948

Closed
@Sirmadeira

Description

@Sirmadeira

What problem does this solve or what need does it fill?

Current AnimationTransitions component is know to only be able to transition from current main animation to other nodes, in this case the API doesnt match the AnimationPlayer component. Which in many scenarios plays multiple animations . In this case I believe AnimationTransitions, should transition between nodes, as it will give a intuitive mannerism to softly handle node transfers without too much weight shenanigans.

What solution would you like?

Create an additional method, that lets you transition among AnimationNodeIndex. Get rid of the idea of one sole ActiveAnimation that exists in AnimationTransitions as that doesnt match an animation graph logic, usually it can have multiple ActiveAnimations

What alternative(s) have you considered?

In the current API, one could actually create N animation players each one handling N animation transitions. For me this feel counter intutitive. As this relation, could be represented with one sole Component.

Additional context

Image
We would get rid of this idea I think, but for that we would need to get rid of the MainAnimation abstraction

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AnimationMake things move and change over timeC-FeatureA new feature, making something new possibleD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions