v3f trick_vel, /* measured in units of TAU/s */
trick_euler; /* measured in units of TAU */
float trick_time;
+ enum trick_type{
+ k_trick_type_none,
+ k_trick_type_kickflip,
+ k_trick_type_shuvit,
+ k_trick_type_treflip
+ }
+ trick_type;
float gravity_bias;
v3f up_dir;
blend_jump,
blend_airdir,
blend_weight,
+ blend_trick_foot,
subslap;
/* vectors representing the direction of the axels in localspace */
k_cog_damp = 0.02f,
k_cog_mass_ratio = 0.9f,
+ k_mmthrow_steer = 1.0f,
k_mmthrow_scale = 6.0f,
k_mmcollect_lat = 2.0f,
k_mmcollect_vert = 0.0f,
VG_VAR_F32( k_mmcollect_lat, flags=VG_VAR_CHEAT );
VG_VAR_F32( k_mmcollect_vert, flags=VG_VAR_CHEAT );
VG_VAR_F32( k_mmdecay, flags=VG_VAR_CHEAT );
+ VG_VAR_F32( k_mmthrow_steer, flags=VG_VAR_CHEAT );
}
VG_STATIC void player__skate_bind ( player_instance *player );