diff --git a/src/body.rs b/src/body.rs index 361b752..8272550 100644 --- a/src/body.rs +++ b/src/body.rs @@ -6,14 +6,16 @@ pub struct Body { pub struct PhysicsState { pub body: Body, + //pub contacts: Vec, pub time: TIME, pub strafe_tick_rate: TIME, pub tick: u32, - pub gravity: glam::Vec3, - pub friction: f32, pub mv: f32, - pub grounded: bool, pub walkspeed: f32, + pub friction: f32, + pub gravity: glam::Vec3, + pub grounded: bool, + pub jump_trying: bool, } pub type TIME = i64;