From 0215df9f96614d1d7db759ac1fa4d350bf83a823 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 22 Jul 2024 14:55:03 -0700 Subject: [PATCH] todo: flying style w/o gravity (may help point out fly bugs) --- src/gameplay_style.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gameplay_style.rs b/src/gameplay_style.rs index 3e6fda0..944eab4 100644 --- a/src/gameplay_style.rs +++ b/src/gameplay_style.rs @@ -14,6 +14,8 @@ pub struct StyleModifiers{ //player gets a controllable rocket force pub rocket:Option, //flying + //pub move_type:MoveType::Fly(FlySettings) + //MoveType::Physics(PhysicsSettings) -> PhysicsSettings includes gravity //jumping is allowed pub jump:Option, //standing & walking is allowed @@ -520,4 +522,4 @@ impl StyleModifiers{ camera_offset:(Planar64Vec3::int(0,64,0)-Planar64Vec3::int(0,73,0)/2)*VALVE_SCALE, } } -} \ No newline at end of file +}