active ragdolls
[carveJwlIkooP6JGAAIwe30JlM.git] / player_skate.h
index c6a7860833077d8845bed38b8c22063f688a0ddf..8af645bdf1ac102d6deb07419742fa285e3da972 100644 (file)
@@ -44,11 +44,13 @@ struct player_skate{
          k_trick_type_none,
          k_trick_type_kickflip,
          k_trick_type_shuvit,
-         k_trick_type_treflip
+         k_trick_type_treflip,
       }
       trick_type;
       float gravity_bias;
 
+      f32 trick_input_collect;
+
       v3f up_dir;
       v3f head_position;
 
@@ -76,6 +78,8 @@ struct player_skate{
       float land_dist;
       v3f land_normal;
       v4f smoothed_rotation;
+
+      f32 velocity_limit, grind_y_start;
    }
    state;