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"

Character won't face where he's moving

Hey guys, I'm having a really hard time. I followed Unreal's Third Person Blueprint tutorial from YouTube and everything worked fine, animations and everything. Including movement. Here's the movement part of the character blueprint from the finished project. alt text

I made a new project and I only wanted to keep it simple and test some concepts...No skeletal mesh or animations, just a character blueprint with a triangle shape instead of an actual guy. I used the exact same inputs and added the nodes to the blueprint so I could move my character around just like before.

alt text

Everything looks the same to me, but here's my problem:

In the project where I followed the tutorial, the character pawn rotates and faces in the direction that he's moving.

In my new project, my character pawn doesn't. He's always facing forward no matter where he moves. I just don't understand why,

Product Version: Not Selected
Tags:
goodprint.png (124.1 kB)
badprint.png (129.6 kB)
more ▼

asked Mar 17 '15 at 02:12 AM in Blueprint Scripting

avatar image

Blacob
7 1 2 4

avatar image Clunk47 Mar 17 '15 at 02:56 AM

If you don't mind, could you post a screenshot of the blueprint's Viewport tab? It sounds like something to do w/ the component hierarchy, perhaps something isn't parented correctly. Are you using mouse X axis for turning, and if so, does the character MOVEMENT change direction, just not the mesh itself?

avatar image Blacob Mar 17 '15 at 03:08 AM

Thank you for the reply. Actually, I don't have any mouse x controls. I wanted to do a top down 2D zelda type of thing, so I followed the tutorial the same way but positioned the camera a bit higher and looking downward.

I deleted the nodes that controlled turning using mouse x in the tutorial blueprint to see if that was the problem, but the character still moved the way I wanted him to. And here's a screenshot

alt text

hierchy.png (20.3 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Maybe you forgot to check "Orient Rotation to Movement" in the Character Movement section in the BP?

more ▼

answered May 31 '15 at 01:20 AM

avatar image

dimzorz
116 8 24 20

avatar image Blacob Jun 01 '15 at 06:03 PM

That was exactly it! Thank you!

(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