amethyst / amethyst/specs-physics
If you use .insert on Write<StorageCollider> you might cause a unwrap() to fail
Aperta
bug
- Lingua principale
- Rust
- Stelle
- 96
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.