godot-cpp
godot-cpp copied to clipboard
Missing functions to have parity with Godot modules
Godot version
4.3-stable
godot-cpp version
4.3-stable
System information
N/A
Issue description
Working through building a GDExtension that provides a custom Node3D, along with an EditorPlugin, I've found the following functions that are missing from godot-cpp that are available to modules inside Godot.
-
SceneTree.get_debug_collision_material()- helpful for drawing collision shapes
- no other way found to get this from the godot engine
-
NavigationServer3D.get_debug_navigation_edge_connections_material()- same
-
ED_SHORTCUT()- easiest way to create configurable keyboard shortcuts in the editor
- not currently possible: https://github.com/godotengine/godot-proposals/issues/2024
-
InputEventKey::create_reference()- significantly reduces the amount of code needed to create
ED_SHORTCUT()work-alike by hand
- significantly reduces the amount of code needed to create
-
PhysicsMaterial.computed_friction()&PhysicsMaterial.computed_bounce()- relatively simple to reproduce, but doing so assumes the internals will never change
Steps to reproduce
N/A
Minimal reproduction project
N/A