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"

rotating character and then moving foward in that direction

I have a player character and so far I have the character moving forward and backward and was able to get the camera to turn independately from the characters movement controls. So if I'm moving forward with the keys I can use the mouse to look right while still looking forward. The issue I am having is that I was to be able to rotate the character using left and right and when I change the direction of the character the movement should now go in that new direction because X has now changed. Its like my character is ignoring the fact that its now rotated. Thanksalt text

Product Version: UE 4.21
Tags:
dream.png (1.8 MB)
more ▼

asked Nov 09 '18 at 12:57 AM in Using UE4

avatar image

YourOwnSkills
6 1 4 4

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

1 answer: sort voted first

I'm not sure how you're setting your ForwardMovement variable, but the AddMovementInput node uses a normalized world-space vector, so your ForwardMovement variable should contain that.

To get the normalized world-space vector, use the Get Actor Forward Vector node.

more ▼

answered Nov 09 '18 at 01:25 AM

avatar image

gryphen_76
81 2 3 4

(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