Can I override an animation in an inherited scene?

Godot Version



Hello! I have created a base class with an animation player and a finished animation attached to it. Can i create an inherited scene but change the animation only for the inherited scene? I don’t want to override the animation on the base scene. Thanks in advance! :slight_smile:

Yes, that’s basically how scene inheritance works. If you don’t delete the animation player and just change it’s properties in child scene, the parent scene won’t be affected. Are you running into an issue doing this? If so, more details/screenshots would be helpful.

I haven’t actually tried doing anything yet as I was scared it would mess up the base animation, but I will try it out later.

Also if I want to override an animation can I change pretty much everything about it? Like adding new tracks, editing existing keyframes or removing old tracks altogether without messing up the original scene?

The animation player shows up as yellow in the inherited scene and any changes i make seem to be made inside the original scene as well.

I would like to avoid creating unique animations for each weapon I make since only some of them need to have their own animations.

I ended up figuring it out myself by clicking on libraries and making the animation unique.