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 set the speed of an AI to a target point

Hi UE4 community,

I tried for an hour to find the solution but I don't understand. I can't reduce the speed of my AI bot to my target point. In my BP, after 2 seconds I tell him to go at this speed (this allows me to change my animation from idle to walking) but my AI character moves too fast. If I put my animation to walk on speed "25" it does not change anything.

My Blueprint : https://i.imgur.com/UpHqq4O.jpg

Your help would really be appreciated!

Product Version: UE 4.19
more ▼

asked Jul 09 '18 at 10:07 PM in Using UE4

avatar image

20 2 3 6

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

1 answer: sort voted first

Hi. I think you're setting Speed variable that control your Animation Playback Speed inside Animation BP. If you aren't using RootMotion this will not have any effect. RootMotionAnimation will drive capsule and determine character movement while InPlaceAnimation is only a layer on top of capsule movement. If you use InPlaceAnimation with AI - it allows you to move capsule without sync to animation. To change your character speed change MaxWalkingSpeed from CharacterMovementComponent inside Character BP.

more ▼

answered Jul 10 '18 at 12:45 AM

avatar image

459 15 13 23

avatar image macmachi Jul 12 '18 at 01:36 PM

Thank mate !

(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