ok. while experimenting. i realise that my.min_x, etc are local cordinates. i updated my code to use this:

Code:
c_move (my, vector(7 * time_step, 0, 0), nullvector, GLIDE);

trace1 = c_trace(vector(my.x,my.y,my.z), vector(my.x+20,my.y,my.z), USE_BOX);
trace2 = c_trace(vector(my.x,my.y,my.z), vector(my.x+20,my.y,my.z+100), USE_BOX);
	
	if(trace1 > 0 && trace2 = 0)
		my.z += 100;



Now wat happens, is few entities keep sliding along the steps and after a few tries it moves up (z+100). some still cant go, they keep sliding along the steps.


A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook