XaiJu
CodeLikeMe
CodeLikeMe

patreon


Unreal Multiplayer FPS #14 - Line Trace Based Shooting

In 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

Unreal Multiplayer FPS #14 - Line Trace Based Shooting

Comments

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

Thilina Premasiri

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.

i'll check in my project and get back to you

Thilina Premasiri

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.


More Creators