Hi fellow forum members,
I was trying to replicate a raycast but, it seems to be not working as I expected.
Please have a look at my script first:
“ServerInitializeAttack” is currently set to “Run on Server/ Reliable” while “InitializeAttack” is set to “Multicast/ Reliable” which runs “Attack” function.
On Server side, the raycast spawned by Client side is not spawned on the direction or location that client is currently looking at but spawned on the direction or location that server is looking at, and it’s same for vice versa.
Here’s the video that I captued:
Could anyone please advice me on how I could fix this problem?