I'm new at gamedev so this is a newbie question.
In a FPS, an enemy fires a weapon at the player and the player is hit. How is this detected? Is this through collision detection? I want to add a specific sound when the shot hits the player v/s when it misses.
Thanks in advance.
If you wait about 10 hours hours then the online documenation will be updated with a tutorial which (among other things) explains just this. Basically you have to use the iSector->HitBeam().