mirror of
https://github.com/galacean/engine.git
synced 2026-05-07 06:30:25 +08:00
PhysX 射线/sweep 起点在碰撞体内部时会返回 distance=0 的命中, 与 Unity 行为不一致。通过启用 POST_FILTER 并在 postFilter 中 过滤 distance<=0 的结果,使 PhysX 跳过 initial overlap 并继续 查找下一个最近命中。 - 启用 POST_FILTER query flag - raycast 和 sweep callback 添加 postFilter 过滤 distance<=0 - 更新 PhysX wasm CDN URL(对应 QueryBinding.h postFilter 改动) - 更新本地 wasm 产物