In the moment I’m working at my project. But I have a problem. If you create a 3D-schooter you also need enemies and life information! I’ve already build a gun but that’s not enough.
Can somebody help me? It will great, if somebody finds out, that the enemy can attack you with a gun!
All the community is here to help but it would be great if could narrow down the question a bit.
Is it more about modeling and creating the assets, the physics and/or collision detection, the “AI” to move the enemy, the animation of the characters, the sound or the general approach ?
If it is about a gun, I guess basically you would need to simulate firing a bullet with a bit of randomization depending on the ennemy accuracy. Then you would ray cast in this random direction and see if the ray hits the player. If yes you could decrease its life else you would not.