[Bug] Character Rotation replicated to all except owning client
I have a weird issue with my character rotation, if I use
Build version: 4.15.1 (Launcher)
Thanks in advance !
asked Mar 23 '17 at 09:53 PM in Bug Reports
I don't believe that this is a bug. I've gotten the actor rotation to replicate using the following setup:
First, I created a custom event, one that sets the rotation on the client using a RepNotify rotator variable, and another that is called on the server that simply calls the client's NewRot event.
Then, make sure you open up your OnRep function that is created when you set your rotator variable to RepNotify, and add the following:
Finally, on K, I call either the server or client version of my rotation event:
Using this, I printed the actor rotation and it was the same on both clients.
answered Mar 24 '17 at 02:55 PM
Sean L ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here