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 to get AI controller input axis values?

I’m trying to convert some player systems over to AI. I was hoping to change as little as possible in the conversion. The input axis events are easy to use on the player but are not present on AI controllers. I there an equivalent to these nodes for the AI? I’m only using Blurprints.

Product Version: UE 4.21
Tags:
more ▼

asked Jan 27 '19 at 02:21 PM in Using UE4

avatar image

jmalaska
702 40 38 59

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

1 answer: sort voted first

The "input" axis events are from a keyboard or physical controller (playstation, Xbox etc). What would be determining when the AI used these "inputs"? When they are in a player controller the player obviously decides when to push a button or do a certain action and the "input" event handles translating this into on screen events. For an AI controller there is no intelligent being outside the program deciding when to use these "input" events hence why you need to create "AI"....this is the "artificial" portion of the "AI" ha

  • Also just tried this in a project, you can in fact get "input" nodes into an AI controller BP...their usefulness I am not quite sure about. I guess if you want a player to be able to control an AI pawn at some point then it would matter, but I don't know how you can have true "AI" and use "input" events.

more ▼

answered Jan 27 '19 at 05:11 PM

avatar image

Nebula Games Inc
4.5k 26 9 14

(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