I have a tank that I create and load all the collisionshapes for in code. It seems to work great but takes quite a while (a couple seconds) to load. I see needing several copies at once but doing that load several times seems too long and quite unnecessary.
Is there a way I can make that tank instance then copy it a few times and change the script that controls it? I don't want each copy to re-load the meshes for colliders etc, I want a copy of it already finished all that but is it's own instance so I can change values in it without changing all the other copies. If I just use tank.instance() then it calls _ready() and loads everything again. If I just say copy tank then it's just pointing at the same instance as far as I know. If I change the script controlling it (which would extend the original script rather than replace it) will that wipe all the loaded data?
Seems like a toughie but everything I've done in Godot that looked tough was actually a breeze so far.
Thanks for any help