amethyst / amethyst/specs-physics
If you use .insert on Write<StorageCollider> you might cause a unwrap() to fail
Abierto
bug
- Lenguaje dominante
- Rust
- Estrellas
- 96
- Forks
- 29
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.