if (key_space)
{
me.z +=16; //if space is pressed jump
ent_animate(me,"jump",jump_percentage,ANM_CYCLE);
//ent_playsound(me,woosh,100); //jumping plays woosh sound
}
if (me.z > 52)
{
c_move(me,vector(0,0,-4.7),nullvector,GLIDE); //if the player is above z.20 then glide down at 0.8 speed, enable collision
//ent_animate(me,"jump",jump_percentage,ANM_CYCLE);
}