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"

Add Movement Input from Character to Actor

I'm working on a project with mechanics similar to that of the Crash Bandicoot games, where the forward movement input would influence the level camera to move forward.

Right now, I've got a separate Actor class with a camera and a spring arm component in my level. On BeginPlay, I get my player controller and set it to the separate actor using Set View Target With Blend. This way, the camera component is not influenced by the player's movement from left to right.

I do however want the camera to move back and forth as the player does. I've tried extending the movement input sequence from the starter content ThirdPersonBP player character, but as I try to add movement input to the separate LevelCamera actor, I'm told that the Component Reference is not compatible with the player character Pawn Reference.

tl;dr: Is there a way to add movement/rotation input along an axis to an Actor in relation to that of a Character class?

Product Version: UE 4.8
more ▼

asked Aug 02 '15 at 10:16 AM in Blueprint Scripting

avatar image

1 1 1

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

0 answers: sort voted first
Be the first one to answer this question
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