Posted By: cgcg
I HAVE PROBLEM IN C_MOVE - 05/10/10 14:04
pic of problem
How to Make the player Climb and Descend
Posted By: cgcg
Re: I HAVE PROBLEM IN C_MOVE - 05/10/10 19:31
GIVE me exemple:
if (key_w)
{
c_move(my,vector(5,0,-0),nullvector,glide);
walk_speed += 5 * time_step; // increase walk_speed; 1.5 sets the speed
ent_animate(my, "walk", walk_speed, ANM_CYCLE);
}
Posted By: Superku
Re: I HAVE PROBLEM IN C_MOVE - 05/10/10 19:40
GIVE me money.
EDIT: Use c_trace to measure the distance to the ground and if it's more than some quants, apply negative vertical speed.
Posted By: sadsack
Re: I HAVE PROBLEM IN C_MOVE - 05/11/10 19:27
Posted By: Tobias
Re: I HAVE PROBLEM IN C_MOVE - 05/11/10 21:57
Just read the tutorial, walking is covered. It's also covered in the manual with an example.
http://www.conitec.net/beta/ac_move.htmhttp://www.conitec.net/litec/work24.htm