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. 

Resetting Camera with Left Trigger (3rd Person Example)

I wanted to trigger the camera to reset in the 3rd person example when the left trigger is pressed, I know that in the example you get InputAxis but I can't find out how to reset the camera's position and rotation behind the character. I didn't get very far (Literally), but this is what I have at the moment:

alt text

Product Version: Not Selected
11111.png (124.0 kB)
more ▼

asked Mar 28 '14 at 01:18 PM in Blueprint Scripting

avatar image

2.3k 97 84 398

avatar image KITATUS Mar 28 '14 at 06:04 PM

Alternative question - How do I attach an offset to a "Set View Target"?

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

1 answer: sort voted first

Get the camera actor and 'get' it, then you want to be setting it's transforms on the button press, so right click and find 'set transform', plug your camera into that, you might want to find the current transform of the mesh it is following, so you can further 'get actor transform' then add your own offset to it with a vector.

That should give you enough of a push in the right direction for you to play around with nodes and variables :)

Check out the really helpful epic blueprint tutorials too. https://www.unrealengine.com/blog/blueprint-basics If you are still struggling after that, dissect the content example stuff to see how they have done it.

more ▼

answered Mar 28 '14 at 04:01 PM

avatar image

489 16 22 27

avatar image KITATUS Mar 28 '14 at 05:14 PM

Cheers! I've managed to reset the camera, but it appears in the characters head. I've tried to create an offset, but there's no way to create an offset vector from the resetting of the camera to the player.

(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