Hello, I am porting my extension to c++ and I need to mark several functions as virtuals in gdscript.
What I tried
I tried using the BIND_VIRTUAL_METHOD but it does not mark my method as virtual in gdscript.
If I try to create an empty method in the header file called for example
_foo, then bind it in the static method
it does not appear in the methods listed by gdscript.
Could somebody give me a hint? Thanks in advance
These issues are related. They all seem to mention using call instead.
09:11PM - 24 Sep 23 UTC
### Godot version
### System information
Ok, so as a TLDR, it is not possible at the moment without using ugly and fragile workarounds.
Yes. BIND_VIRTUAL_METHOD only seems to be used in the godot_cpp bindings and I believe it’s very different from what the engine uses to expose the methods like _ready and _process. If you’re a
module developer, you may have more to work with than with GDExtension.