godotengine / godotengine/godot-cpp

Can't find a number of methods for PhysicsServer3D, MessageQueue and SceneTree

Open
#1,069 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

I've been trying to replicate something like [this proof of concept](https://github.com/godotengine/godot/pull/49976) to add a `Physics.simulate()` for myself as an extension to use in a project and I am having issues finding the corresponding methods/classes used:
- `PhysicsServer3D::step()` and `PhysicsServer3D::flush_queries()`
- `MessageQueue` and `MessageQueue::get_singleton()` and `MessageQueue::flush()`
- `SceneTree::get_singleton()` and `SceneTree::flush_transform_notifications()`

Do these exist? Should they exist? Is there any way I can help add them? Maybe I am missing something very simple, or they are not intended to be implemented, but I cannot currently find any documentation or clear steps on how to add new methods to the API, nor a clear description of what kinds of methods should be supported.

Please let me know if I am out of bounds in my line of questioning, but the ability to do something along the lines of a `Physics.simulate()` is fairly core to some of the features our team will be working on in the near future, so I will be continuing to look into alternatives either way.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked proof-of-concept pull request and searching the godot-cpp bindings for PhysicsServer3D, MessageQueue, and SceneTree. Determine whether the listed methods exist in the supported API and what the project’s guidance says about exposing them; done means a documented, actionable decision on whether and how these methods should be added.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.