Sphere collision

BlitzMax Modules Forums/MiniB3D/Sphere collision

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

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.

You're right, it's not working properly. Will fix.