CraterCrash / godot-orchestrator

Orchestrator: Unleashing Creativity with Visual Scripting
https://www.cratercrash.com/orchestrator
Apache License 2.0
988 stars 54 forks source link

The animation parameter is not changing through Visual Scripting in Orchestrator. #819

Open arturbier opened 1 month ago

arturbier commented 1 month ago

Describe the bug

When using Visual Scripting to change an animation parameter through the node Set Parameters/conditions/isopen, the animation does not respond, and the parameter is not updated, despite correct setup of the nodes and parameters in the Animator.

Expected behavior

The animation should start playing based on the changed isopen parameter through Visual Scripting.

Actual behavior

The isopen parameter does not change, and the animation does not start. Снимок экрана 2024-10-07 в 15 35 15

How to Reproduce?

  1. Create a new project in Godot using the latest stable version.
    1. Add an AnimationTree or AnimationPlayer node.
    2. Set up an animation with a parameter (e.g., isopen) to control the animation states.
    3. Enable Visual Scripting.
    4. Create a graph with a Ready Event and connect it to the Set Parameters/conditions/isopen node.
    5. Ensure that the parameter is passed correctly (e.g., set true for a boolean variable).
    6. Run the project.

Godot full version

v4.3 stable

Orchestrator version

v2.2

Additional information

No response

Naros commented 1 month ago

Hi @arturbier, does it work if you use the animation node combined with using the set method, setting parameters/conditions/isopen with a value of true?

arturbier commented 1 month ago

Hi @arturbier, does it work if you use the animation node combined with using the set method, setting parameters/conditions/isopen with a value of true?

No, none of the parameters work through visual scripting, for example, in “AnimationMixer - Active - True” it also doesn’t work. However, everything works fine through a regular script.