Toka, col-info between RBs and trimesh???

Blitz3D Forums/Blitz3D Userlibs/Toka, col-info between RBs and trimesh???

Paolo(Posted 2005) [#1]
I can't retrieve collision info between RBs and
static meshes. I don't know how to set the collision ID
of a trimesh so I'm asumming it is 0, I have my RBs with
col-id=4 and then I set up the simulator like this:

TOKSIM_SetCollisionResponse 0,4,3

... but the "TOKSIM_GetCollisionCount()" always return cero ...

Am I missing something?

Paolo.


Sweenie(Posted 2005) [#2]
The static mesh has a default collision ID of -1


Paolo(Posted 2005) [#3]
Go ... Sweenie ... Go!

that's exactly what I was missing :)