amethyst / amethyst/specs-physics
If you use .insert on Write<StorageCollider> you might cause a unwrap() to fail
未關閉
bug
- 主要語言
- Rust
- 星號
- 96
- 分支
- 29
- PR 合併指標
- 30 天內沒有已合併 PR
描述
1. Create a collider and do a tick
2. Replace that with a new collider using Write::insert
-- Modify event is created by Specs, not Remove and insert --
3. let collider_handle = physics_collider.handle.unwrap(); - This line in sync_colliders_to_physics (update_collider) will panic
--
Workaround,
Use Write::remove first.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。