ITADN

Expose ColliderSet::{take_modified, take_removed}

#887Pull RequestRalith 创建于 2025-10-26
R
Ralithcommented
These are practically necessary when working without a PhysicsPipeline. A larger change could avoid exposing `ModifiedObjects`, but it seems like it might be useful as well. Alternatively, `BroadPhaseBvh::update` could be modified to pull this data from the `ColliderSet` itself. In that case the public interface could be narrowed to a method on `ColliderSet` to clear the modified/removed sets, but this would make it impossible for a user to inject their own modified/removed handles. I'm not sure if that's useful.
合并状态:未合并 关闭于 2025-11-02 1 条评论