I'd like to use a 3rd party library written in C++ and include it in my gdscript in order to control the logic of the game. I've heard about gdnative. How can I use those C++ library files and interface them with the gdscript code without having to modify those file (too many of them) ? What I need is use these library as an API from gdscript.
Something like in the figure.
PS: I read the tutorial here but it talks only about one file with godot headers. But couldn't understand how I can talk with that 3rd party code.