case EVENT_BLOCK: { if(normal.z>0) snd_play(sndA,100,0); //play floor-hit sound else if(normal.z<0) snd_play(sndB,100,0); //play ceiling-hit sound else if((normal.x!=0)||(normal.y!=)) snd_play(sndC,100,0); //play anywall-hit sound }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de