x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Character rotates faster on server than on client

Trying to replicate rotation of my characters properly for a "strafe mode". You hold shift and then rotation dependent on movement is taken over by a rotation towards the mouse cursor (diablo-like top down game)

But no matter what I do, I can't fix nor wrapy my head around why the rotation is slower on clients (about half speed I think). I've found similar questions but I dont get it nor can I seem to fix it.

I've made a video (easier) walking through my implementation here:

https://www.youtube.com/watch?v=-w4cZlYfjtk&feature=youtu.be

Thank you in advance! I'm totally lost here.

Product Version: UE 4.11
Tags:
more ▼

asked Apr 07 '16 at 09:24 AM in Blueprint Scripting

avatar image

jordylakiere
43 3 5

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi @jordylakiere ,

Did you watch this pack of MP Top Down tutorials? https://www.youtube.com/watch?v=gxrAR6RA1AU

He uses Set Control Rotation instead Set Actor Location.

P.S. Everything work fine. Tested on 4.10 and 4.11

P.S.S. me too use SetControlRotation, but stacked at replicating from client to server :P

more ▼

answered Apr 10 '16 at 12:20 PM

avatar image

iRYO400
35 5 5 8

avatar image jordylakiere Apr 12 '16 at 03:44 PM

Yeah, I used set control rotation and it works fine now. I'm still very interested in understanding why control rotation works but actor rotation doesn't, though, looking forward to other implimentations. But thank you!

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question