Godot Version
Godot 4.2
Question
I’m writing some custom classes for use in a project, and most of the examples of custom classes that I’ve seen extend from another class, most commonly extending from node. The classes that I’m making right now are mainly for storing and updating data pertaining to the behavior of characters in my game, and since each character will already be implemented as a subtree of nodes, I’m wondering if there is a significant difference between extending this class as a node and adding it as a child to each character or instead just using the class in a script attached to the character node. Are there any notable performance/capability differences that I should take into consideration when deciding this?