Sphere collision

BlitzMax Forums/MiniB3D Module/Sphere collision

deps(Posted 2007) [#1]
Hi, got some problems with collisions. :P

Is sphere - sphere collision working? And how do I use it?

The way I'm trying to do now is to use EntityType on the player and enemies, and calling collision twice, once for player -> enemy, and then for enemy -> player.

' Sphere -> sphere collisions
Collisions TYPE_PLAYER,TYPE_ROBOT,1,1
Collisions TYPE_ROBOT,TYPE_PLAYER,1,1


I don't need responses, and I read that they isn't implemented completely yet anyway.
I also call EntityRadius on both the player and enemy meshes.
But CountCollisions() always returns 0. Is there something I forgot to do, or is this not completely implemented in MiniB3D yet?

Thankful for any help in this.


simonh(Posted 2007) [#2]
You're right, it's not working properly. Will fix.