HaywireInteractive / OnAllFronts-Public

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

Fix replication of free look #979

Closed Leroy231 closed 2 months ago

Leroy231 commented 4 months ago

You can free look by pressing/holding alt key (pressing/holding configured in settings) and looking around. Currently this isn't replicated correctly to other clients. We can come up with a solution that only works for player controlled soldiers as AI will never free look. Since player controlled soldiers always have an actor on server that's replicated to other clients we can replicate this using actor replication rather than Mass.