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 player character movement rotate WITH camera, using only one joystick?

I want my character to move in any direction with one thumbstick (the left thumbstick), but I also want my camera to rotate with the character as it moves (the camera always looking at the characters back). So the character would always walk forward.

I have really tried to google around and read through forums about this, also tried some different solutions. Have also looked at "Orient Rotation to Movement" and "Use Controller Desired Rotation", disabling and enabling them to see what they do. But in the end I never got the result I wanted.

Below you can see what I have at the moment;

alt text

alt text

alt text

Product Version: UE 4.13
Tags:
more ▼

asked Jan 16 '17 at 12:35 AM in Blueprint Scripting

avatar image

Crossbones93
11 3 3 6

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

1 answer: sort voted first

Kinda worked it out, but haven't got that much more time for my project, so i'l just have to say that i'm done with the player character movement part... I used the third person blueprint as reference (since that blueprint sort of had what i needed), and only used the "Input Axis Move Forward" and "Input Axis Move Right" to get my result. The turning with the camera is a little weird, but it sort of works. Tho I have realised that for next time, I should rather make a camera that moves with the character but doesn't rotate with the character (it sounds better atleast).

Below you can see what I got right now:

alt text

alt text

alt text

more ▼

answered Jan 16 '17 at 09:17 PM

avatar image

Crossbones93
11 3 3 6

(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