Line trace is working good as it fires on the centre of the screen where the crosshair is but when i play as client then the line trace is fired at different location.
Sorry but your “question” has no information what you want to know and what you are currently doing
I am creating FPS shooter multiplayer game. For shooting I’m using line trace and the line trace goes from the center of the screen. So when I’m testing my game in “standalone” and “play as listen server”, my line trace is firing from center of the screen where I placed Crosshair widget.
But when I test my game in “play as client” then the line trace is firing from the left side of the screen.
I don’t know why this is happening.
As you can see in the screenshot that line trace is not firing in the center of the screen.