I whant that my player and ncps start to slide when they are on a Model, Terrain or block that has an angle of 60.
My code looks like this, but it dosnt work;

VECTOR z_dist;//Of course

if(event_type == EVENT_BLOCK | EVENT_ENTITY && normal.z > 0.75) {
my.z_dist = minv(my.z_dist,-5);
}


Does somebody know how I can fix this??? tongue

Last edited by Random; 07/21/10 22:58.