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. 

change camera position when key pressed

I have a 3th person game concept and am trying to move the camera from one side of the charater to the other side when the player presses the H key on his keyboard (reason being: people sometimes like their character on the left, or right, depending on the situation) but have not been able to success so far.

how would this function look like in blueprints? I've already set the camera to the first starting position (to the right of the character), I'm guessing I could create a second camera and just switch between them? but this wouldn't be smooth since if the camera could just be moved to the other side of the character, I could create an animation while transitioning to the other view.


Im trying to create a camera that moves to the other side of the character and have so far been unable to get this working, how would one create this functionality?

Product Version: UE 4.13
more ▼

asked Oct 15 '16 at 04:13 PM in Blueprint Scripting

avatar image

8 2 3 5

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

1 answer: sort voted first

I would do something like this

alt text

Next Position function:

alt text

Camera Positions is just an array of rotators and I just added 2 default values to it. (0,0,90) and (0,0,-90).

If you have any questions please tell me!

Edit: You can play with the InterpSpeed value from the RInterpTo node to make the transition slower or faster

rotation.png (243.4 kB)
more ▼

answered Oct 15 '16 at 08:40 PM

avatar image

600 17 9 32

avatar image atahorai Jul 10 '17 at 10:37 PM

Well this tells me nothing, how do I create those nodes like Camera Postion or the one with big GET? Yes, I'm completely new to BP and programming.

avatar image DebellicA Sep 17 '17 at 06:44 PM

That's not the way to get a constructive response, FWIW - MacDX gave you some instructions and you shat all over it. Perhaps ask with the intentions of actually learning next time.

(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