diff --git a/src/actor.rs b/src/actor.rs index 6863ab7..4240846 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -141,7 +141,12 @@ impl Default for LifeForm { fn default() -> Self { Self { }}} #[derive(Component)] -pub struct Vehicle; +pub struct Vehicle { + stored_drivers_collider: Option, +} +impl Default for Vehicle { fn default() -> Self { Self { + stored_drivers_collider: None, +}}} #[derive(Copy, Clone, PartialEq)] pub enum EngineType { @@ -194,17 +199,17 @@ const SUIT_SIMPLE: Suit = Suit { pub fn update_physics_lifeforms( time: Res