Skip to content

When using AnimationNodeStateMachine as the root of AnimationTree, BlendTree and Animation nodes do not appear in AnimationTree Parameters #65002

@wmsteinhardt

Description

@wmsteinhardt

Godot version

4.0 alpha14

System information

Windows 10

Issue description

StateMachineProblem

I have been trying to use a State Machine as the root node of my AnimationTree.

However, I noticed that after adding Animation and BlendTree nodes to my State Machine, they do not appear as Parameters - I am therefore unsure how to access their properties with code, since using the AnimationPlayer methods directly does not work when using the AnimationTree.

Steps to reproduce

  1. Create new scene with AnimationPlayer and AnimationTree nodes as children of a node that does have animations (necessary to add animations to the State Machine)
  2. Configure target of the AnimationTree to be the AnimationPlayer as usual.
  3. Add one of each object (Blendspace1D, Blendspace2D, State Machine, BlendTree, Animation) to the State Machine root.
  4. Note that neither BlendTree nor AnimationTree are present in the parameters.

Minimal reproduction project

AnimationTreeStateMachineRoot.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions