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"

Use "AI Move to" with no Character Pawn


I have a project that is based on the twinstick shooter template. In the Template, the used pawn for the palyer, is directly onherited from APawn, and not from ACharacter. When I want to use the same pawn as an AI and use the AI Move To node inside my behaviour tree task, it wont work. However, it works, if I reparent my enemy pawn to ACharacter. I assume, it is beacuse the AI Move To requires a CharacterMovement Component. Unfortunatly, it does not to be possible to add a CharacterMovement Component in the blueprint directory of my pawn (I cant select it when adding components)

Is there a way to get "AI Move to" to work with pawns that are not Characters? I dont want to be forced to inherit from ACharacter, since it adds a capsule collision component, which does not really work for the kind of mesh I am using.

Product Version: Not Selected
more ▼

asked Mar 04 '15 at 08:28 AM in Blueprint Scripting

avatar image

108 20 27 49

avatar image Brainshack Mar 04 '15 at 10:39 AM

I would be cool with using Character as my base class, If I could somehow change the Capsule Collider to a sphere collider (or any other)

avatar image MieszkoZ STAFF Mar 04 '15 at 10:46 AM

AFAIK it's not supported yet, but it's in the backlog.

avatar image Doomep Feb 19 '16 at 03:02 AM

Definitely do AI based BBT does not work for Class Pawn movements. In my case I used the Blueprint Character as trick and I used my enemy static mesh . At least for my basic need , it has worked .

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

1 answer: sort voted first

It all boils down to the fact that our pathfollowing is based on character movement component. There is a basic support for path following with other movement components, but it's just not that robust of fully tested. The good news is that making CharacterMovementComponent working with Pawn is on the todo list, so maybe stick to deriving from Character for now, and you'll be able to switch back to pure Pawn once that feature is on-line.



more ▼

answered Mar 04 '15 at 09:15 AM

avatar image

MieszkoZ STAFF
7.3k 225 57 413

avatar image haimat Jun 08 '15 at 02:24 PM

Hi mieszko, is this still an issue with current UE version, or can we control pawn movement via BTs already?

avatar image MieszkoZ STAFF Jun 08 '15 at 02:33 PM

Depends on the amount of control you need. Please ask a specific question in a new answerhub thread.

avatar image haimat Jun 08 '15 at 09:12 PM
avatar image wilberolive Dec 16 '16 at 02:39 AM

Is this still on the todo list? Character is so bloated when all you need is a Pawn to follow a nav mesh path.

(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