I have a situation where I'd like to extend from a gdscript, but I would also like to keep the node's script extending their built in type.
I would have a RigidBody2D and a StaticBody2D, and they would want to inherit a bunch of general properties and initialization logic from a gdscript. I don't want to create two copies that extend each type, because it will become a problem have to maintain multiple versions of the same thing as time goes on.
I know there isn't any multiple inheritance for extends, so I can't extend both and use it as a properties mixin.
Are there any eloquent ways around this? My initial idea is to preload the script as something like a props, and then refer to things like props.height, etc.
Any one else have any interesting alternatives?