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"

How do I make my NPC move?

I have a pawn BP set up with a floating character. There are no movement animations, only an animation that loops no matter what the speed of the character is (basically an idle floating animation). I have set up NPC movement to target points just like in all the tutorials. It's just my NPC doesn't move. Most likely because there is no movement component. It's just a blank pawn BP with a 3D model in there.

Now, NONE of the NPC tutorials seem to explain how to set up movement from scratch, they all seem to copy and paste the BP from the third person example project, which is not what I want to do. Any help?

Product Version: UE 4.16
Tags:
more ▼

asked Aug 01 '17 at 04:46 PM in Using UE4

avatar image

Krilium
62 6 11 11

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

3 answers: sort voted first

... https://i.imgur.com/AlEEnEg.png

Make sure you have a Navmesh and your Collisions on the Mesh (No Collision) and Capsule (Pawn preset) are setup properly. Everything else is up to you how you want to Handle any further Movement.

https://gyazo.com/fe674d69b0495ce5618454373c4c0230

more ▼

answered Aug 01 '17 at 05:29 PM

avatar image

Nachtmahr
6.9k 143 25 171

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

You could add a movement component, or you could get the forward vector multiplied by distance plus world location and sweep

more ▼

answered Nov 29 '18 at 04:13 PM

avatar image

L04D3D
6 3 7 6

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

Or you could launch your character by a continous amount on the forward vector and overide xyz

more ▼

answered Nov 29 '18 at 04:14 PM

avatar image

L04D3D
6 3 7 6

(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