hi guy
when i use c_move instruction my model get in the wall .
but no get out of wall it's stay in the middle wall .

thanks



Code:
function main{
	level_load("new2.wmb");
	wait(5);
}
entity* main_robot;
action my_robot_act{
	main_robot=me;wait(1);camera_pos_func();
	while(1){
		wait(time_step);
		//move forward
		if(key_w){
			c_move(me,vector(15*time,0,0),nullvector,GLIDE);my.skill11+=1;
			ent_animate(me,"Frame",my.skill11,ANM_CYCLE);wait(time_step);
		}
		//move backward
		if(key_s){
			c_move(me,vector(-15*time,0,0),nullvector,GLIDE);my.skill11-=1;
			ent_animate(me,"Frame",my.skill11,ANM_CYCLE);wait(time_step);
			if(my.skill11<0){my.skill11=100;
			}
		}
		//move left
		if(key_d){
			c_move(me,vector(0,-15*time,0),nullvector,GLIDE);wait(time_step);
		}
		//move left
		if(key_a){
			c_move(me,vector(0,15*time,0),nullvector,GLIDE);wait(time_step);
		}
		
		}
	}
}



dobidob hosein_dig and max_man7000 game

HAPPY NEW YEAR !!