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 to make camera always face forward when moving

I have a simple move to actor to make my player automatically move to a destination. How can i make the camera always face forward. Right now i can rotate the view while moving. I want it that when it is moving it will always face forward.

Product Version: UE 4.20
more ▼

asked Oct 01 '18 at 01:24 PM in Using UE4

avatar image

18 1 1 6

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

1 answer: sort voted first

By default camera location is established by location of camera component inside the actor, so if you make camera component always face forward (and you can do that with SpringArm component, which also do things like camera lag) camera will mimic that. So there lot of things you can do just by operating camera component

For more advance control you would need override CameraCalc of actor in C++ (which removes need to use camera component)

more ▼

answered Oct 01 '18 at 01:36 PM

avatar image

37.2k 936 172 1116

avatar image RookieEncoder Oct 02 '18 at 12:20 AM

how do i use the spring arm component ? in new to unreal so i dont know how to use things yet. Can i use it to lock the camera to face forward when it is executing the move to function ?

(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