Shooting a Shotgun

How would one make it so that when a gun is fired in the Game Engine that it will spawn several bullets that don’t always go perfectly straight. Like a shotgun (the bullets fire in a random direction)

search for random.You should find several threads.

Search for bullet too, to avoid problems with small and fast objects.

Have an empty as the bullets emmitter and have it always following a random rotation ipo (to find out how to do this look at making fire in BGE), this will make the bullets start at different angles. I don’t have any idea’s about emitting more than one at the same time though.