Skip to content

Missing functions to have parity with Godot modules #1604

Description

@dmlary

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()
  • InputEventKey::create_reference()
    • significantly reduces the amount of code needed to create ED_SHORTCUT() work-alike by hand
  • 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis is an enhancement on the current functionality

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions