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"

Accessing first person camera in level blueprint

I can access the first person camera in the character's blueprint but not in the level blue print. I am trying to do a ray cast to highlight the selected object. So, I need to get the camera's location and rotation.

Product Version: Not Selected
Tags:
more ▼

asked Dec 09 '14 at 07:49 AM in Blueprint Scripting

avatar image

HarshiniIsvi
23 3 5 7

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

hi HarshiniIsvi ! you can just use "Get Player Character" node and Cast it to your character blueprint and get your camera so easy ! just like this : alt text

qweqweqweqwe.jpg (67.2 kB)
more ▼

answered Dec 09 '14 at 09:12 AM

avatar image

Gentleman72
67 11 15 21

avatar image HarshiniIsvi Dec 13 '14 at 02:32 PM

Awesome! thanks :-) It worked. I just started using unreal engine. So, pretty confused. Can you suggest me how to go about learning C++ and blueprints in unreal engine 4 (other than the official video tutorials).

avatar image Gentleman72 Sep 23 '15 at 06:17 AM

there is a book called "Learning C++ by Creating Games With UE4" written by Wiliam Sharif from PACKT publishing

it was so useful for me

avatar image MathiasG Jul 04 '15 at 04:57 PM

Hi Gentleman72!

Would be really neat if you could show the whole blueprint. Sitting here and ripping my hair of at the moment!

/M

avatar image Gentleman72 Sep 23 '15 at 06:12 AM

i just want to show how to get Camera

(comments are locked)
10|2000 characters needed characters left
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