Please test my collision system (AABB)
BlitzMax Forums/BlitzMax Programming/Please test my collision system (AABB)
| ||
You can download it here: http://www.altitude-studios.com/blitzmax/collisiondemo.zip Let me know what improvments could be made. Right now there are two type of collisions static and dynamic. Any ideas? |
| ||
what exactly is it supposed to do? BTW the /quake command locks the program. |
| ||
I'm just trying to figure out the best collision response system and I wanted to see how this felt to you guys. Oops, forgot to check if you enter a value after /quake. Correct syntax is "/quake n" where n is the size of quake. |
| ||
Move around with the cursor keys... Very cool altitudems. :) Muttley |
| ||
Oh I see you have to close the console before you can play with it. Very cool. Is it supposed to slow down when you are pushing the blocks around? If so then I like it. TAB - close the console cursor keys - moving character 1 ASDW keys - moving character 2 |
| ||
Yeah I should have mentioned the keys. Thanks |
| ||
frikkin awsome man !!! i dig , so, can we see the code ? lol |
| ||
man I hate my fkn laptop at times. I will refer from comment on it cos it wont run any faster than 3 or 4 frame per second on my 900mhz lappy, and the text in the console isall messed up.. Should have my Main Dev Machine fixed in a day or so, So I will have another loook then and let you know. |
| ||
Works very nicely. |
| ||
Thanks for the support guys. Its not quite perfect yet though. There are still some issues with missed collision when objects are z sorted, i'm looking into it. @Deux The entire project will be turned open source when it reaches a certain point. So yes you can look forward to seeing the code. |
| ||
looks good. SteffenK |
| ||
When travelling diagonally it was only detecting one collision. Works fine when you hit only one wall, but as soon as I hit a corner the man would sail straight through one of the walls. |
| ||
If you line up a bunch of boxes and push them against a wall they penetrate each other and the wall. If you stop moving they slowly move into place again. Apart from that it seems efficient. |
| ||
Thanks for pointing out those issues. I've actualy fixed them now, so I might upload a new version soon. |
| ||
altitudems, maybe if you dont want to release the code, could you make a tutorial ? This little demo is fantastic, hehe, i cant stop playing with it :) |