Announcement

Collapse
No announcement yet.

Got bullets in FPS Template to Replicate - but client can't shoot up and down

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Got bullets in FPS Template to Replicate - but client can't shoot up and down

    So as you can see from the code, I simply modified it so that all the code is run through a custom event that is set to run on the server. Everything works great - the client and server can both fire and see each other's bullets. However, only the server can aim and fire up and down. When the client fires, the bullets only fire straight and not up and down. This makes no sense to me. I made all the variables replicated, but no luck. What am I missing? Thanks!

    Click image for larger version

Name:	unreal.jpg
Views:	1
Size:	892.1 KB
ID:	1191967

    #2
    And if I make it so that it doesn't run on the server, the client can freely fire up and down, but the bullets don't replicate. So something about the up and down axis movement isn't being replicated. But then again, I don't think it's a replication issue, because when the server is set to run this code, the client (even on client side) can only fire straight.

    Comment


      #3
      I'm having the same issue.

      I had the same issue. Any luck finding a solution? Also, my client sees projectile spawning off from where the server sees them. On the client they appear further to the right than they should. On the server they spawn exactly where they should. Just like in your case, making the fire function run locally instead of RunOnServer works fine (obviously no replication).

      Comment


        #4
        Same issue, no solution yet.

        Comment

        Working...
        X