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 can I get a reference to default camera in a new "blank" project with no starter content?


When I create a new blank project with no starter content, the project comes with 5 actors;

  • atmospheric fog

  • sky sphere

  • light source

  • player start

  • default floor

When I start playing the level, I can see that a number of actors are added automatically, such as camera, default pawn, game mode etc. Since these actors are only available during gameplay, there is no way to create a visual reference node for these actors by dragging & dropping them to the blueprint editor.

Question: How can I get a reference to default camera in blueprints? - (currently working on a very minimalist FPS, so I need to trace a line from the camera)

Note: I've already tried getting a reference to camera by getting all actors in the scene and searching by name. However, the name of the actors added on the fly keep on changing incrementally! So, searching by name seems to be unpredictable.

Kind Regards,

Product Version: Not Selected
more ▼

asked Aug 05 '14 at 02:55 PM in Blueprint Scripting

avatar image

92 10 16 18

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

1 answer: sort voted first

Hey Dynamo,

The default GameMode starts with a Default Pawn Class that has its own CameraActor. You can reference it with the Get Player Camera Manager node, which gives you access to its location and rotation, among other things. It might be worth your while to look into creating your own GameMode and assigning a custom Default Pawn Class and Player Controller Class to it, so you have more control during development.

There some documentation available about the GameMode and what it's for here:


and some info on setting up a Controller and Pawn here:


Not all of that information would apply to you if you're attempting to make something simple, but a simple GameMode + Default Pawn Class + Player Controller might save you a lot of work in your project.

Hope that helps!

Ben Halliday

more ▼

answered Aug 05 '14 at 10:58 PM

avatar image Dynamo Aug 06 '14 at 10:47 AM

Dear Ben,

Thank you very much for the quick and detailed reply.

Both links are great! Now, I understand how it works under the hood...

(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