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"

Can't get character to spawn

I'm trying to add a character to my level, but I can't get it to spawn. I have used the character blueprint successfully in another project.

I currently have it set for selected viewport and default player start

alt text

Product Version: UE 4.20
Tags:
capture.png (1.1 MB)
more ▼

asked Mar 22 '19 at 02:44 PM in Using UE4

avatar image

NexSim
8 2 6

avatar image Nebula Games Inc Mar 22 '19 at 02:48 PM

What are you trying to do with an AI controller? Kind of pointless to have a controller and nothing to control...

avatar image NexSim Mar 22 '19 at 02:53 PM

Sorry.. new to UE.. I meant I am trying to add a character. I have an ai controller which is assigned to the character. Question updated

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

1 answer: sort voted first

To spawn a character into a level, you can use the "Player Start" from the left side details panel and place it where you want the player to start. This will automatically spawn in the default player character you have selected in your game mode (Which i see you have not selected one, you need to do this otherwise nothing will spawn in). Player characters also require a player controller not an AI controller FYI.

Additionally, if you are new this series may be of use to you down the line for other things. Doesn't deal specifically with a controller but it does go over a lot of the basic stuff you need to know to start making simple games in UE4.

https://www.youtube.com/playlist?list=PLyu-W38DvZhqByAoeva1jewB5s78zQHIy

more ▼

answered Mar 22 '19 at 03:13 PM

avatar image

Nebula Games Inc
4.6k 27 9 14

avatar image NexSim Mar 22 '19 at 05:11 PM

What if it isn't the players character?

avatar image Nebula Games Inc Mar 22 '19 at 05:49 PM

What kind of character is it? An AI? then you would either need to place it in the world or spawn it in with "Spawn Actor From Class"

avatar image Nebula Games Inc Mar 22 '19 at 05:50 PM

Also post a screen shot of how you are trying to spawn this thing in, that would help a lot.

avatar image NexSim Mar 22 '19 at 05:53 PM

Yeah, it's an AI character. I placed it in the world by dragging and dropping it from the content browser. The screenshot is in the original post... comparing it to a project that is working, I don't actually see the character, just the area that circles him (not sure what it's called). Maybe I didn't import it correctly.

avatar image NexSim Mar 22 '19 at 05:59 PM

Problem solved... I didn't know there was a migrate function...

Thanks for the help

avatar image Nebula Games Inc Mar 22 '19 at 06:00 PM

Haha no problem.

avatar image Nebula Games Inc Mar 22 '19 at 06:00 PM

You don't have a mesh setup for the character. Just the capsule collision that is inherited with the "character" class. Go into the blueprint itself look at the viewport tab, select the character skeletal mesh component or the static mesh component and give it a default value.

(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