godotengine / godotengine/godot-cpp

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

未关闭
#1,069 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
2.7k
派生
810
平均合并
1 天 3 小时
30 天内合并 PR
8

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先阅读链接的概念验证 pull request,并在 godot-cpp 绑定中搜索 PhysicsServer3D、MessageQueue 和 SceneTree。确定所列方法是否存在于受支持的 API 中,以及项目指南对公开这些方法有何说明;完成的标准是形成一项有文档记录且可执行的决定,明确是否以及如何添加这些方法。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
api
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。