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 はまだ評価されていません。