^ Of course Superku is correct. The code was write to in current form for 2d movement - no z changes. It's clear in the line Superku points out and the lack of a Z-axis in the c_move of the code.

This correct can help
Code:
action ....()
{
var fxd_car_length =2.5; // A factor for the mulling the length of the models d-plane, current setting will more then double, reduce or increase at 0.25 increments as needed.

//......................................................
// my.max_x-my.min_x == total length from back x bbox plane to front x bbox plane Mulled by a factor of 2.5 , should mean even if there is a z-axis drop, this abs dist-num should be long enough. 
// Note to add the my.min_x value always "-" sub it, it is stored a a negative number. 
if(vec_dist(my.x,vec_next_node.x) < (my.max_x-my.min_x) * fxd_car_length )    
		{



Happy Halloween, I've got a ghost in my bed and she wants to rattle the chain. So have fun and game-on
Mal

Last edited by Malice; 11/01/15 07:26.