Can someone please shed some light on using materials with Bot Builders TOKAMAK Extras function TOK_AddMesh?
I've got a colliding environment working but can't figure how to assign a material to make it bouncy or slippery. I've assigned my materials, specified a texture (TOK_SetTextureMaterial("textures\arrow.png",1)), added my mesh
TOK_AddMesh(mdl_Table,0,-2,1)
TOK_SetMesh()
but no matter what numbers I try in the AddMesh function I can't change the texture or properties of my mesh? The documentation confuses my poor little brain, talking about multitextured, recursive meshes where I've I've got is a simple, single-surface mesh.
I've got a colliding environment working but can't figure how to assign a material to make it bouncy or slippery. I've assigned my materials, specified a texture (TOK_SetTextureMaterial("textures\arrow.png",1)), added my mesh
TOK_AddMesh(mdl_Table,0,-2,1)
TOK_SetMesh()
but no matter what numbers I try in the AddMesh function I can't change the texture or properties of my mesh? The documentation confuses my poor little brain, talking about multitextured, recursive meshes where I've I've got is a simple, single-surface mesh.