Unreal Multiplayer FPS #14 - Line Trace Based Shooting
🕑 Added 2021-01-19 19:28:25 +0000 UTCIn this episode of the unreal engine multiplayer first person shooter series, I am going to implement a line trace based shooting system. We already had a projectile based shooting system, but for something like a machine gun, it is more suitable to use a line trace based hit detection system. So, today, we will look into spawning muzzle flash, gun shooting sound and how to replicate those effects. In the next episode we will look into how to replicate bullet impacts and how to cause damage to other characters.
password=codelikeme_trace
Comments
Thilina Premasiri
i checked my project for all combinations of this scenario. Client to server, server to client, client to client and it seems working fine. can you download a more recent project file release and see if you face the same problem
Hi again, I did some testing and was able to isolate the issue. It seems the branch right after Update Health Bar is not executing the code.
Thilina Premasiri
i'll check in my project and get back to you
Hi, I am not sure what I am missing but the simulate physics does not replicate when the client dies and when the server dies, the physics is messed up, like he falls over all stiff and his animations keep playing.