@Sweenie - What do you think to changing the units so that they match standard Blitz objects? It seems at the moment that 1 Blitz unit=2 Tokamak units. Get's a bit annoying after a while. Could you change the wrapper to compensate? Or am I missing something (again) ;)
nice code fredborg :) I assume setting rec prevents it from actually creating a mesh, allowing you to fiddle with it. Why not make the banks and varsglobal? then, on the last entity (or with a seperate command) you could set rec to false and have it write the collision mesh with all the entities you've called with TOK_MakeCollider. Basically, call it multiple times to have multiple meshs added into the collision mesh.