After much faffing around with matrices, I have found a bug in 'get ground height' which may be causing people problems.
If you set up matrix with 'nice' numbers, e.g.
make matrix 1,1000,1000,32,32 = no problems
but if you make last two numbers, 'weird' like 32,42, then ground height reports incorrect negative values on tiles where tile is 'bent' in middle. The lower section of the problem tile reports the ground height as negative instead of positive.
In above piccy, the poles indicate wrong values.
I repeat, this only does this if you set up matrix with 'weird' numbers. So stick with nice square values, like 32,32 or 64,64.
Can this problem please be rectified in a future patch as writing collision code is very difficult when program tells you the wrong info.
Gronda, Gronda