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"

how to make the character and camera follow the mouse movement

I want to make the character follow the camera movement like when my mouse turn left the camera and character turn left when up the character and camera turn up ... and without moving the entire character like when you stand up idle and turn it turn the whole body like you don t need to move if you turn i hope you understand. and btw i m in third person mode

Product Version: UE 4.19
Tags:
more ▼

asked Jun 19 '18 at 05:31 PM in Using UE4

avatar image

Gaming-Beast
1 1 1

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

1 answer: sort voted first

When turning (Input Axis Turn):

Add Actor World Rotation (z Yaw) to the Pawn.

That should take care of turning the character.

In order to run in the direction you're facing, onMoveForward:

Get Player Pawn -> Get Actor Forward Vector -> Add Movement Input to Pawn.

more ▼

answered Jun 19 '18 at 06:39 PM

avatar image

Everynone
14.8k 77 25 62

(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