Adding a new type of material property?
by Luke Jones · in Torque Game Engine · 05/02/2004 (11:59 pm) · 0 replies
Can this be done...
I'm part way through implementing Newton Game Dynamics (NGD) into Torque.
What I want to do is enable a new field in the materialmaps for textures, I need to beable to tell TGE what sort of physics propertys it should have, i.e.
Where can I find examples of this and how it is implemented?
Can anyone offer an indepth explanation?
I'm part way through implementing Newton Game Dynamics (NGD) into Torque.
What I want to do is enable a new field in the materialmaps for textures, I need to beable to tell TGE what sort of physics propertys it should have, i.e.
addMaterialMapping( "stone" , "NewtonMaterials: rock" , "sound: 0" );Where "rock" is a datablock which contains the physics settings.
Where can I find examples of this and how it is implemented?
Can anyone offer an indepth explanation?
About the author
Core developer using Rust lang at Sphere Identity.