Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arturbier opened this issue Oct 7, 2024 · 2 comments
Labels
kind/bug A bug or regression in expected behavior.

Comments

@arturbier
Copy link

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.
    2. Add an AnimationTree or AnimationPlayer node.
    3. Set up an animation with a parameter (e.g., isopen) to control the animation states.
    4. Enable Visual Scripting.
    5. Create a graph with a Ready Event and connect it to the Set Parameters/conditions/isopen node.
    6. Ensure that the parameter is passed correctly (e.g., set true for a boolean variable).
    7. Run the project.

Godot full version

v4.3 stable

Orchestrator version

v2.2

Additional information

No response

@arturbier arturbier added the kind/bug A bug or regression in expected behavior. label Oct 7, 2024
@Naros
Copy link
Member

Naros commented Oct 7, 2024

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug or regression in expected behavior.
Projects
None yet
Development

No branches or pull requests

2 participants