Quote:
Originally Posted by Stefan
onwall2() should always work fine, both are doing pixel-accurate checks on clientside and image-rectangle check on server, or checking the covered tiles.
For car movement it can be better to use onwall() though, since you need to do several checks to detect how you are touching the wall. It is especially quite some work to detect diagonal walls like on Zone, it is working most of the time but when the bike is fast it is getting harder since doing pixel-accurate checks on the whole shape of the bike is too slow.
|
I probably was thinking of diagonal checks then. I just remember having trouble when I scripted my trigonometric movement using onwall2(). But hey, if onwall2() works better, use it!
