Textures and sounds

Posted By: Redoine

Textures and sounds - 04/17/13 12:38

hello guys
how can i make the sound of the bullet colision with the wall
changes when the texture changes
for exemple if the texture is glass we will hear a sound of breaking glass
and if it's a wood we will hear the sound of breaking wood ...

and is it right that we can assign actions to blocks
if it's (how)
thank you in advence
Posted By: sivan

Re: Textures and sounds - 04/17/13 12:51

use c_trace with SCAN_TEXTURE flag to get the texture hit by the ray.
© 2024 lite-C Forums