that code looks to difficult, and useless..there's way to write a shorter, simpler code for that..(my opinion). I know, Matt_Coles ask to translate it to Lite-C, but does that really need for us? sorry if off topic..
The smaller the bug, the harder it is to kill. _________________________________________ Forklift DEMO (3dgs)