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. 

How to make a Spring-Arm Camera for Multiplayer?

I'm currently trying to make a 3rd person (spring arm) camera for multiplayer - when the player dies, he can spectate other players through their spring-arm cameras.

The only problem is that "use pawn control rotation" with inherited XYZ only works on the server, the clients do not see any rotation. I guess this is because the clients do not get information of the controllers of other players. So now I'm kind of stuck, because even if I want to rotate the spring arm in a tick event from the client based on the current rotation of the pawn actor rotation it is based on, it doesn't move correctly or at all. I've got it to move in reverse (player looks left, camera moves right) sometimes, but even then the rotation speed is off.

How do I make a spring-arm camera rotate with the pawn for multiplayer (client sees rotation of other client cameras correctly)?

Product Version: UE 4.11
Tags:
more ▼

asked May 21 '16 at 12:19 PM in Blueprint Scripting

avatar image

Blue669
246 29 36 54

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

1 answer: sort voted first

Okay, I've found the mistake. I was supposed to use relative rotation, not world rotation. When I set relative rotation to the rotation of the actor, it works.

more ▼

answered May 21 '16 at 05:19 PM

avatar image

Blue669
246 29 36 54

(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