Getting colission info back from Tokamak

Blitz3D Forums/Blitz3D Programming/Getting colission info back from Tokamak

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Heya everybody. I've been successfully using Tokamak on my project for three weeks now, and I'm now getting into the finishing touches (i.e. the second 90%) of the game, and it's time for audio.

I want to play a sound whenever two objects collide in Tokamak, but I can't seem to find any functions I can use to say something like "for all objects of this type, for all of another type, when their physical representaions collide, do x". I.e. there doesn't seem to be a Tokamak equivalent of "if entities collide".


Now I know the first workaround will be that I use good old vanilla Blitz collisions to do this sensing. I'm not that keen on wasting all the procession power on also having blitz colisions JUST for a single audio sample, but if that must be done, it must be done.

Thanks!