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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Replicating Mouse Rotation on Client

Hello,

I'll start by saying, I searched thoroughly for a solution to this problem, however I couldn't find a solution. Server and clients updates servers rotation with mouse with no problem. However Clients can't rotate with their mouse position, I am missing something..

My setup attached. Here is a summary: (1) Just a plain convert mouse location to world space, returning its 'World Location' (2)&&(3) A Picture is attached.

Thank you

alt text alt text alt text

Product Version: Not Selected
Tags:
mouserotation1.png (452.6 kB)
func2.png (438.6 kB)
func3.png (473.4 kB)
more ▼

asked Apr 14 '15 at 07:23 PM in Blueprint Scripting

avatar image

Baf179
31 3 8 11

avatar image Baf179 Apr 14 '15 at 08:52 PM

Partial success!

When only clients play (dedicated server) everything is running smoothly, rotations & movements. However when not in dedicated server, there is mismatch between rotations/movements, everyone sees the other facing the wrong way.

I noticed it happens only when Server is updating his movements, if I unlink Servers capability to update his own movements it is all smooth again. Any ideas?

Thanks..

avatar image Virtuosic May 20 '15 at 12:43 AM

Hey Baf, where you able to get this working?

I'm trying to do the same thing you are - i'm grabbing the mouse coordinates under the cursor and i'm trying to update the rotation of my character with them. It works fine locally, but when i try to replicate it to other clients it doesn't work.

I've been able to get it to replicate to the server, but the server doesn't seem to want to replicate the movement to the clients. However, when i'm trying to update the rotation without using Velocity instead of mouse coordinates, everything works just fine.

I'm stuck here.

avatar image Baf179 May 23 '15 at 12:38 PM

Yes I did, is it still relevant to you?

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

1 answer: sort voted first

I managed to fix it some time ago, I forgot to mark as solved :-)

more ▼

answered May 23 '15 at 12:37 PM

avatar image

Baf179
31 3 8 11

avatar image coolyer Apr 22 '18 at 04:06 PM

Hey there, Is there any chance you can tell us what you did to fix this as it would be very helpful. Thank you.

(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