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"

Why is the Break/Make Rotator Setup Required for 3rd Person Movement?


I'm very much a beginner and have just finished the "Blueprint 3rd Person Game" tutorial video set. I had to troubleshoot an issue, and found the solution, but it makes me wonder about something, and I'd like to confirm I'm thinking about it properly.

Problem I was having: My character wasn't moving relative to the camera angle, but instead was moving relative to the world. Which made controlling them all but impossible if I was looking around.

Solution: I dug in and realized that I had hooked up only the Y/Pitch wiring in the Break/Make Rotator Links I'd set up. When I hooked it up to Z/Yaw, all was corrected. And, I think I understand why.

New Question though: Why is this Break/Make step needed? In search of an answer, I tried a few different hookups:

  • If I wired all three axes in the Break/Make Rotators, the controls still functioned properly: alt text

  • If I disconnected them completely, it still functioned properly: alt text

The only difference I noted was that if I pitched the camera down toward the ground and tried to run forward, it wouldn't run until I pitched back up; then it would gradually pick up speed as the ground moved out of the way. I understand why this happens, since doing the Break/Make Rotator locks things to Z only (thus ignoring the other directions).

Is this the only reason to use the Break/Make Rotator links? Or is there another advantage to doing so?

Thanks for reading this very basic question!

Product Version: UE 4.18
more ▼

asked Dec 22 '17 at 06:40 PM in Blueprint Scripting

avatar image

26 4 3 8

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

1 answer: sort voted first

Hey there, doing a break and a make with the exact same values (Pitch to Pitch, Roll to Roll, Yaw to Yaw) doesn't make any difference. The only eventual explanation would be maybe some angle clamping that the make might do, but that doesn't make much sense. It is weird you are experiencing diferences with and without the make and break.

more ▼

answered Dec 22 '17 at 11:06 PM

avatar image

6k 163 129 305

avatar image RaNewt Dec 22 '17 at 11:13 PM

Thanks for the response!

I think what it's doing is isolating the Z/Yaw, and essentially discarding the X and Y values.

My main question is whether this is required for some other reason than just for cleanliness. I can see that it's the standard set up for the Unreal Staff and Example Projects for 3rd Person Movement. I'm betting that once you start doing more than just running around on a flat surface, this isolation will be a good thing to have.

Thinking about it more, I'd imagine if you were running up an incline, without the isolation, it'd slow you down in ways that you wouldn't want.

I think I've answered this question myself after thinking about it more. So, I'm gonna call it good.

(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