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"

How to capture camera view of non-player actor

Hi,

I am new to unreal engine and my question my sound dumb, I have made an AI character that follows the player, I have also attached a camera to the AI character, what I want to do is to capture the camera view of the AI character and save it into the file either through blueprints or c++, is there a way to do it. Please note I am doing all this for my research project. I will be extremely thankful to you

Product Version: UE 4.15
Tags:
more ▼

asked Jun 10 '17 at 06:36 PM in Using UE4

avatar image

hassamsheikh1
1 2 3

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

1 answer: sort voted first

I haven't tried it but I think that recording to sequencer can help you ;) Here's a link: https://docs.unrealengine.com/latest/INT/Engine/Sequencer/HowTo/SequenceRecorder/

If you just want to change view to the AI character, you can use the "SetViewTargetWithBlend" blueprint node.

alt text

viewtarget.jpg (77.1 kB)
more ▼

answered Jun 10 '17 at 08:12 PM

avatar image

Evans Bohl
115 8 11 15

avatar image hassamsheikh1 Jun 10 '17 at 08:39 PM

tried, not working. I think SceneCapture2D should work, but I have no clue how to use it

(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