HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
115 stars 22 forks source link

Handle player collision with AI soldiers #913

Closed Leroy231 closed 4 months ago

Leroy231 commented 5 months ago

Currently AI soldiers only get represented as actors on the client. This means if a player walks into an AI soldier even if the soldier is an actor on their client, because there's no actor on the server, the player will be able to walk right through the AI. Option 1 is probably better below.

Note: to view server LOD use console variable: pm.DebugMassPawnServerRepresentation 1

Option 1:

To verify fix:

~Option 2:~

Image

Leroy231 commented 4 months ago

Fixed in https://github.com/HaywireInteractive/OnAllFronts/commit/bae43d9203529d6bd504852e2ab74c1c99783f10