use std::f32::consts::PI; use bevy::prelude::*; use heron::prelude::*; use rand::prelude::*; use crate::{ input::{InputState, Key, Source as InputSource}, map::GroundContact, off_map::CanFallOffMap, Layer, }; pub const EGG_RADIUS: f32 = 0.15; #[derive(Component)] pub struct Player { input_source: InputSource, rotation: f32, last_shot: Option