Skip to content

If Animation Tree Node Kind of Empty is the current state Any transitions should still be evaluated #16345

@hulcypdiscord

Description

@hulcypdiscord

Use Case

We are setting up an animation tree that utilizes layers to managed some of the various actions a player can perform. We are making use of the Empty state in some of these layers as a mechanism for having that layer "in-active" so that the layer can become "active" via Triggers. Currently the Any state transitions are not evaluated when the current state of a sub graph is of type Empty. Please see attached screenshot of the snippet of code I believe to be the cause for the current behavior, in which NodeKind of Empty ignores transitions from the Any state.

Problem Description

image

Proposed Solution

I would like to request that NodeKind.Empty also evaluate Any transitions.

How it works

No response

Alternatives Considered

There aren't any really great ones... we could try using a regular animation state with an empty clip, but we have not tested if that will even work or what other issues that might cause.

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions