No response collisions
Blitz3D Forums/Blitz3D Programming/No response collisions
| ||
The blitz collision system is great but I'd like to have collision with no response i.e. I don't want my source object to stop. I want to merely detect a collision has occured and take appropriate action based on that. Is there a way to do this or should I be using LinePick and checking the distance in front of the source object to check for such collisions? |
| ||
This gets asked quite a bit. Second post in this thread... http://www.blitzbasic.com/bbs/posts.php?topic=23678 ...lists the three main ways of getting no-response collisions. |
| ||
eMan i had the same thing, i had to make a work around cube moving to sphere, if cube hits sphere then RESETENTITY(CUBE) that will report a collision, but will effectivlly go through it |
| ||
Just use if EntityCollided (myEntity, myCollisionType) then .... and take whatever action you fancy. |
| ||
Thanks for the help. I tried using the parent pivot approach but I couldn't get it to work. It was a bit messy. I instead used the Area Collision library by David Bird. This approach works very well and you can see the collision boxes if needed. |