I am using a multiplayer system where players can interact with each other using a line trace by channel (visibility).
When a client character runs the linetrace at the server character, the trace always hits and the interactions goes ahead.
However when a client runs the linetrace on another client character, the trace will only hit if the server character is looking at the two client characters interacting. If the clients aren’t on the servers screen, the trace will just pass right through the collision and no interaction will go ahead.
The linetrace is run on the server.
Is this an expected result? How can I ensure that the linetrace will be blocked and the interactions between clients can go ahead, even if the server character is not looking?
Thanks for your help, this is my first time posting a question on the forums.