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"

Difference between controller and pawn "get control rotation"

Hi everybody! I have a question that came up very recently while returning to work on my game after a very long pause. While trying to add movement to my character, I noticed that there are two nodes for "get control rotation", one that targets the pawn and another the controller, so what´s the difference between them? And while we´re on it...what´s the concept behind "controller"? is it something similar to "player"? I understand the abstraction of "player" obviously, but "controller" eludes me. I´ve check the documentation but i´m afraid it´s a bit of information overload for me, so I thought about getting these base concepts first before moving on.

Thanks a bunch!!

Product Version: Not Selected
Tags:
more ▼

asked Feb 05 '16 at 04:30 PM in Blueprint Scripting

avatar image

Matias Echeverría
10 3 7 11

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

I believe the control rotation is refeering to the rotation you direct using ie. the mouse (the controller). while the actor or pawn rotation is the rotation of the actual actor/pawn. So if you want to for example control the camera using the mouse, you'd use the control rotation while the pawn/actor would have a different rotation. Hope that made sense?

more ▼

answered Feb 05 '16 at 04:35 PM

avatar image

Jonas_Molgaard
481 28 24 46

(comments are locked)
10|2000 characters needed characters left

i'd say in general that's how you can think of it yes. Im sure there are situations where this is strictly not correct, but to my knowledge, that's how it works.Checking the documentation, this is what it says: https://docs.unrealengine.com/latest/INT/BlueprintAPI/Pawn/GetControlRotation/index.html

hehe... they also use the term "often", so i guess it can be different...

Hope that helps.

more ▼

answered Feb 06 '16 at 11:27 AM

avatar image

Jonas_Molgaard
481 28 24 46

(comments are locked)
10|2000 characters needed characters left

So, would you say that "controller", in general, is related to the game camera? and the pawn/actor is related to the mesh?

Thanks for answering so quickly BTW!!

more ▼

answered Feb 05 '16 at 04:42 PM

avatar image

Matias Echeverría
10 3 7 11

(comments are locked)
10|2000 characters needed characters left
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