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 the difference between a character blueprint and a player controller blueprint

I am an animator who is studying blueprint while watching the tutorial of YouTube.

I have a tutorial on building a movement system that uses a character blueprint and uses a player controller blueprint. In the tutorial, I do not know the special difference in using character blueprints and player controller blueprints.

If you know what the difference is, let me know. In what situations should I use character blueprints and in which cases should I use the player controller blueprints?

I would very much appreciate your help.

Product Version: Not Selected
Tags:
more ▼

asked Apr 21 '19 at 08:55 AM in Using UE4

avatar image

refia
41 5 6 11

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

2 answers: sort voted first

The biggest difference is that you can have 1 controller but many characters. Think about implications here.

If you have a tank, a plane, and a footsoldier in a game, they will all move differently. All controlled by the same controller that just ask them to Move Forward but the actual movement code is in the Pawn. The tank threads churn dirt, the wings go swoosh, and the soldier's gear rattles. These should not be in the controller.


Docs for the Pawn (there's a subsection for Character there, too):

https://docs.unrealengine.com/en-us/Gameplay/Framework/Pawn

And the controller:

https://docs.unrealengine.com/en-us/Gameplay/Framework/Controller

more ▼

answered Apr 21 '19 at 09:04 AM

avatar image

Everynone
15.2k 77 26 62

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

a controller as one might expect from the name is what controls the possessed character. a good comparison would be that the controller is like the mind and the character like the body. a character without a controller is like a body with no mind, it can do simple things but it cant complete complex tasks or receive player input.

as for the situation when to use them or what to put in them. well you will need a player controller anytime you want a player to be able to do something (at least from my experience), so you will always need at least one in general. as for what to put in them well that depends on your game and how you choose to set things up. you could for example put the movement controls for the character in the controller if you wished or you could have it in the character. most things that you can do in the controller can also be done by referencing the controller from another bp.

theres a bunch more to it but thats the basics that i can think of off the top of my head atm.

more ▼

answered Apr 21 '19 at 06:33 PM

avatar image

ThompsonN13
10.1k 33 10 25

(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