HaywireInteractive / OnAllFronts-Public

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

Fix replication of free look #979

Open Leroy231 opened 1 month ago

Leroy231 commented 1 month 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.