Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / get ground height matrix bug

Author
Message
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 15th Feb 2003 20:08
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

Login to post a reply

Server time is: 2025-05-18 03:00:11
Your offset time is: 2025-05-18 03:00:11