Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing functions to have parity with Godot modules #1604

Open
dmlary opened this issue Sep 23, 2024 · 0 comments
Open

Missing functions to have parity with Godot modules #1604

dmlary opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement This is an enhancement on the current functionality
Milestone

Comments

@dmlary
Copy link

dmlary commented Sep 23, 2024

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

@dmlary dmlary changed the title Missing debug-related functions Missing functions to have parity with Godot modules Sep 23, 2024
@dsnopek dsnopek added this to the 4.x milestone Oct 5, 2024
@dsnopek dsnopek added the enhancement This is an enhancement on the current functionality label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement on the current functionality
Projects
None yet
Development

No branches or pull requests

2 participants