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. 

Use 1 Camera for multiple characters...

Hello everyone! I'm developing a RPG like some of the popular ones out there and have a question about camera switch. I'm trying to make it efficient so I only want to use one Camera for the entire party. This camera needs to focus one the character the player is controlling at all times. so for examples in a party of 3, if character 1 is the controllable character then the camera should focus on it and behave as it would in a third person template. I have been fooling around and the best I can get is switching characters and the view being from the controlled character. I'm grateful for everyone's help in advance!

Product Version: UE 4.13
Tags:
more ▼

asked Mar 11 '17 at 02:46 PM in Blueprint Scripting

avatar image

DivineDevStudios
1 1 4

avatar image Erytriel Mar 12 '17 at 02:22 PM

i was planing on making a tutorial right about that topic:D

via GIPHY

avatar image DivineDevStudios Mar 13 '17 at 04:20 AM

I would love to see your take on it!

avatar image DivineDevStudios Feb 23 '18 at 05:26 PM

I would like to see your Blueprint. It seems like it could work for me!

avatar image EmilyBec Mar 06 '18 at 10:46 AM

Please do I am having the same problem!

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

1 answer: sort voted first

I believe I figured it out. I used the "Add camera component node", "Attach To Component" (attached it to spring arm already on character), then "set view target" followed by a simple "Possess". When switching I repeat the process for the next character then destroy the old camera... If anybody knows a more efficient way please let me know. when I'm done cleaning the blueprint I will post picks for anyone interested in this topic...

more ▼

answered Mar 12 '17 at 06:55 AM

avatar image

DivineDevStudios
1 1 4

avatar image aNorthStar Feb 23 '18 at 08:29 PM

yes, this will work... but I suspect that it's more performance-efficient just to have cameras on all your characters and just Set View Target With Blend between them... creating and destroying camera components on the fly would be less efficient, maybe.

(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