How to get the name of a texture...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
floyd6
Posts: 10
Joined: Sun Mar 12, 2006 1:38 pm

How to get the name of a texture...

Post by floyd6 »

...attached to a particular triangle so that I can change footstep sound to an appropriate one when the player walks on a carpet, wooden floor, dirt etc. ???
zeno60
Posts: 342
Joined: Sun May 21, 2006 2:48 am
Location: NC, USA
Contact:

Post by zeno60 »

If you are using Newton for your physics, then this can be done easily using newton's "material id's" and playing a diffrent sound in the contact callbacks, you can find more on that in the Newton forums, and in the newton tutorials (spec. tutorial 4: using materials).
floyd6
Posts: 10
Joined: Sun Mar 12, 2006 1:38 pm

Post by floyd6 »

Thanks man !
Post Reply