what does this code mean?
Posted: Wed Feb 20, 2008 6:31 am
can some 1 tell me what this code interprets or says, because im not sure what it means,
int weight = 10;
x = ((weight - 1)*x + player.x)/weight;
I found this in the tutorial of making the view follow the actor 2, it shows you the scripting but it doesnt explain it????
int weight = 10;
x = ((weight - 1)*x + player.x)/weight;
I found this in the tutorial of making the view follow the actor 2, it shows you the scripting but it doesnt explain it????