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"

What is Break rotator ?

Hi everybody, English is not my first language. Anyone can explain me in details what is exactly Break rotator. I can't understand it with the only definition I've found (Breaks apart a rotator into {Roll, Pitch, Yaw} angles in degrees) I use this node in tutorial for basic movements of my character. I globaly know this node use to redefine vector direction of my character fonction to yaws movements input of camera.

Sorry if this questions is so simply but I'm a beginner Thanks

Link of the tutorial I follow. https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/SetUpInput/Blueprints/index.html

Product Version: UE 4.12
Tags:
more ▼

asked Jan 28 '17 at 02:25 PM in Blueprint Scripting

avatar image

jjgro2000
10 1 2 6

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

1 answer: sort voted first

So you have GetControlRotation node - this give you (pitch yaw roll) Input from your Controller. Then you BreakRot - basically this allow you to ignore some axis. If you care only about Yaw you plug only Yaw wire into MakeRot node. This will control Character camera in your case - when you GetRightVector or GetForwardVector you get vectors relative to your camera direction. Imagine your character look at sky and walk Forward - if you don't use only Yaw axis his ForwardVector will be pointing to sky. But to walk forward you need to have your ForwardVector parallel to ground. If you want to underwater diving - use Pitch, otherwise you can't pointing your ForwardVector down and move down. Hmm....

more ▼

answered Jan 28 '17 at 02:57 PM

avatar image

TVinforest
459 15 13 23

avatar image jjgro2000 Jan 28 '17 at 03:16 PM

Perfect. "it allows you to ignore some axis". Thanks for your answer TVinforest. But is this node really essential ? I delete "break rotator", then split "get control rotation", then link "get control rotation" and "make rotator". It works.

alt text

capecran.png (46.7 kB)
(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