そもそもGodotエンジン自体はC++でできてる
スクリプトはほぼpythonのGDscriptとC#だが
GDNativeを導入することでC++のスクリプトも使えるようになる
https://docs.godotengine.org/en/3.1/tutorials/plugins/gdnative/gdnative-cpp-example.html