PASSIVE COLLISIONS

Blitz3D Forums/Blitz3D Beginners Area/PASSIVE COLLISIONS

D4NM4N(Posted 2004) [#1]
Whats the best way of detecting a collision without having any action, or using the meshintersect(tooslow!). for example, checkpoints and bonusses??


semar(Posted 2004) [#2]
Use a pivot parented to your main char to detect the collisions, then reset it with ResetEntity when you have picked up your bonuses, and you want the pivot ready again for the next collision check.

Or, simply, instead of collisions, use EntityDistance, and when the distance between your main char and a bonus is less than X, then pick the bonus up !

Sergio.


D4NM4N(Posted 2004) [#3]
tried ent.dist but if the object is travelling too fast it can miss it, ive sussed it now tho thanks :)