Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

Animation Node Redirector

An asset by DangerousWhenWet
The page banner background of a mountain and forest
Animation Node Redirector hero image

Quick Information

0 ratings
Animation Node Redirector icon image
DangerousWhenWet
Animation Node Redirector

Plugin to assist un-breaking NodePaths referenced by an AnimationPlayer after you've rearranged the scene tree Problem: Sometimes when you edit the scene tree of a scene that has an AnimationPlayer wired up to it, the AnimationPlayer fails to resolve nodes in the scene whose NodePaths have changed and as a result can no longer play animations.Solution: Use a @tool script to edit the NodePaths referenced by the AnimationPlayer so they can be resolved again. This addon provides a basic UI to simplify the process.

Supported Engine Version
4.3
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
7 months ago
Git URL
Issue URL

Animation Node Redirector

Problem: Sometimes when you edit the scene tree of a scene that has an AnimationPlayer wired up to it, the AnimationPlayer fails to resolve nodes in the scene whose NodePaths have changed and as a result can no longer play animations.

Solution: Use a @tool script to edit the NodePaths referenced by the AnimationPlayer so they can be resolved again. This addon provides a basic UI to simplify the process.

https://github.com/user-attachments/assets/20eb002a-dd70-4271-b85b-ff4648fc7c6c

Installation

Usage

  • Enable the plugin.
  • Select an AnimationPlayer in the scene tree in the Scene dock β€” a button is revealed on the viewport toolbar [Redirect Animation Node(s)].
  • Click the button β€” a popup window appears listing all of the nodes referenced by the AnimationPlayer in a table.
  • Edit the New Node Path field until all nodes can be resolved again.
  • [Accept]
  • Save your scene.

Limitations

  • Tested only in v4.4.dev7.official [46c8f8c5c] (but I can't think of a reason for it not to work in 4.x)
  • The addon currently only functions in the Spatial/3D editor viewport. A small update is planned to dynamically support 3D or 2D viewports. But, in the meantime, enabling 2D editor functionality should be a fairly straightforward modification (I haven't tested this):
    • Edit animplayer-redirector.gd
      • Edit func _add_button():
        • EditorPlugin.CONTAINER_SPATIAL_EDITOR_MENU β†’ EditorPlugin.CONTAINER_CANVAS_EDITOR_MENU
      • Edit func _remove_button():
        • EditorPlugin.CONTAINER_SPATIAL_EDITOR_MENU β†’ EditorPlugin.CONTAINER_CANVAS_EDITOR_MENU

Plugin to assist un-breaking NodePaths referenced by an AnimationPlayer after you've rearranged the scene tree

Problem: Sometimes when you edit the scene tree of a scene that has an AnimationPlayer wired up to it, the AnimationPlayer fails to resolve nodes in the scene whose NodePaths have changed and as a result can no longer play animations.

Solution: Use a @tool script to edit the NodePaths referenced by the AnimationPlayer so they can be resolved again. This addon provides a basic UI to simplify the process.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Animation Node Redirector icon image
DangerousWhenWet
Animation Node Redirector

Plugin to assist un-breaking NodePaths referenced by an AnimationPlayer after you've rearranged the scene tree Problem: Sometimes when you edit the scene tree of a scene that has an AnimationPlayer wired up to it, the AnimationPlayer fails to resolve nodes in the scene whose NodePaths have changed and as a result can no longer play animations.Solution: Use a @tool script to edit the NodePaths referenced by the AnimationPlayer so they can be resolved again. This addon provides a basic UI to simplify the process.

Supported Engine Version
4.3
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
7 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers