Can't get my collision to work
Blitz3D Forums/Blitz3D Programming/Can't get my collision to work
| ||
Hi, all! I am trying to get this to work for days now and it simply doesn't. My collision only works in one way - player to enemy but I need it to work the other way round also. I've set up a player type and an enemy type. I want to check the enemy\obj for collision with the player\obj. If they collide, I want to delete the enemy\obj. For testing reasons, I want my prog to end. If I check: everything works. If I check: it doesn't work! I think, I've set up everything correct. Here my whole code: |
| ||
Here is an example of how to use the collision system and how to manage the turningmoving colliders and the static collidables : http://www.blitzbasic.com/codearcs/codearcs.php?code=3141 |
| ||
[CODE] This is not Code because CODE is not code [/CODE] |
| ||
Thanks RemiD for pointing me to that code snippet! And of course many thanks for RGR for solving my central problem. |