godot-cpp
godot-cpp copied to clipboard
C++ bindings for the Godot script API
Further investigating why Ref isn't working properly I found a weird issue with casting. In C++ when inheriting it is possible that data structures shift and there is thus no...
_Versions: https://github.com/godotengine/godot/commit/245c99175c242bdc60a212cc84986b1a9ad5aa08, godot-cpp 123d9f0e9264dcc7206888fc96419b32feef00c8_ Lately I tried to bind a simple C++ class to Godot, very similar to the one [in the official example](https://docs.godotengine.org/en/3.1/tutorials/plugins/gdnative/gdnative-cpp-example.html): ```cpp class MyClass : public godot::Node2D...
In GDScript, when you make custom classes with gdext generally this is the way: `var myExtClass:CustomClass = CustomClass.new()` but what if I want to have an array-like class with generics?...
Hi All, Just copying my post from @vnen's PR #602 so we can have the discussion here without polluting his work: > while vnen left this as a draft I...
 As you can see in the image above, from **lines 6-15** I've commented them, for some reason, the `try to identify platform` doesnt pass in the **lines 101-117**: ```py...
When godot-cpp is added as a submodule in a Godot project, Godot will wrongly try to import `.obj` compilation files and lock for a very long time because of it....
With a simple `throw std::exception` the game stop without printing the message from the exception.
# **Download the source code, but there is no explanation of everything that the class owns.** # example rigidbody class ## C++ godot-cpp master.  ## C# in Godot Engine...
[game_manager.zip](https://github.com/godotengine/godot-cpp/files/7026656/game_manager.zip) Error happens in both mono, and standard version 3.3.2. Both master branch and 3.3 branch. Scenario: Given a class with: ``` // Godot will call to find out which...
I think godot-cpp has a small issue in its CMakeLists, rather than using CMAKE_CURRENT_SOURCE_DIR to get the directory of the current cmakelists, it uses CMAKE_SOURCE_DIR which gets the path of...