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"

Pitch and Yaw replication?


I can't get pitch and yaw to replicate in multiplayer..

I'm building a third person game and my character got a Aim offset like the Owen sample.

Found this topic, but I'm not sure how to setup the animation blueprint: https://answers.unrealengine.com/questions/45916/aimoffset-not-replicating.html

Here is my blueprint: alt text

alt text

Can anyone help me getting pitch and yaw working in multiplayer?

Product Version: Not Selected
more ▼

asked Aug 09 '14 at 01:24 PM in Blueprint Scripting

avatar image

32 16 22 28

avatar image Xenosis Aug 09 '14 at 01:27 PM

And here is my Animation blueprint,which is just a copy of Owen from the samples: alt text

The red box is the script from the topic above.. How do I setup this animation blueprint?

avatar image Xenosis Aug 09 '14 at 08:47 PM

No body can help with this?

avatar image ziv 12344 Feb 18 '18 at 09:22 AM

ziv eeevgkgggggggggggggvvgvug

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

In unreal right now they only replicate pitch for client in Pawn, and you can only get that through C++ only. They replicate by taking value from Controller rotation from server, because only server and owner client have controller, which indicate where you look. So here you need to get controller rotation, then get pitch and yaw from there and save to some replicate value for client to see.

alt text

Btw, must be weekend so no one there to answer.

clientpitchyaw.png (96.5 kB)
more ▼

answered Aug 11 '14 at 03:02 AM

avatar image

Duncan Dam
3.1k 121 50 164

avatar image TastyCrunch Jul 06 '15 at 10:28 AM

I have saved pitch and yaw in a variable like you said. But how I can now use this Variables in AnimBP? I have tried to send a InterfaceMessage with Pitch and Yaw. (didn't work) And I Have tried to make this Variable public, but I dont know which Target I have to set.

I have similar AnimBP like Xenosis

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

One way i managed to update rotation also in multiplayer

alt text

more ▼

answered Aug 16 '18 at 01:51 PM

avatar image

131 2 7 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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