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. 

Do Multiplayer games use FirstPerson Template or ThirdPerson?

I'm asking this because in certain multiplayer games, some interactions that happen on the player's screen looks different than that from other players' perspective. A good example would be if we have two players that are interacting with an NPC. The NPC is coded to lock its face on the player's camera whenever they enter the NPC's collision box. However, player 1's screen would show the NPC looking at them, but if player 2 where to leave this interaction, the NPC wouldn't be look at player 1. In both player's screens, the NPC would be looking at them individually.

Another good example is in the game Sea of Thieves, where the players can see their character's hand and the object they picked up. Other players would see the character skeleton raising its hand and holding said object. However when the player moves their camera all the way up or down, the hand and the object held doesn't change, it stays at the bottom right corner of the player's screen. On the other hand, other players don't see the character's arms moving up or down as the player moves their camera around.

This made me realize that maybe these multiplayer games like Sea of Thieves use the FirstPerson Template, I'm not sure because I'm not very familiar with UE4 yet and so would like to know so I can use the correct template for my game.

Product Version: UE 4.22
more ▼

asked May 02 '19 at 12:33 PM in Using UE4

avatar image

0 1 2

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

1 answer: sort voted first

If you want your game to be first person, use first person. If you want it third person then use third person. Once you've got it running from a local player perspective you can then start to put avatars to represent other players into the world. You'll want to use a different character class for them anyway so just make sure that the attached mesh is a full body rather than just some arms.

Remember, games can use a lot of tricks so just because you're seeing the world in first person, it doesn't mean that every other player has to see you or anything else in the world in the same way.

more ▼

answered May 02 '19 at 12:54 PM

avatar image

1.5k 6 6 12

avatar image LoganDolan May 02 '19 at 02:04 PM

So you use a first person template and add a body mesh to your character? Rather than use third person template and add a camera to the character mesh's head ?

avatar image phil_me_up May 02 '19 at 02:25 PM

Neither really. Remember that only the local player (i.e. the one which is being controlled on the computer where the player is sat) needs to be a controllable first person character. For this type of character just use the First Person Template.

For everyone elses character just treat them like they are an NPC. You (the local player) don't need these character to be locally controllable and you don't need them to have cameras on or anything, you just need to spawn a mesh that looks right and then perform whatever movement is necessary as you get information over the network. They can look completely different on every players screen if you want.

(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