godotengine / godotengine/godot-cpp

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

Aperta
#1,069 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
2.7k
Fork
809
Merge medio
1g 3h
PR unite (30g)
8

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.