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"

Ladder Animation for AI

Hello. I'm wondering if anyone has a tried and true solution for seamlessly transitioning an AI character from Navigating, to animating down/up a ladder and back into Navigation. I have tried to construct this several different ways with various results. All methods were using AnimMontage, which may or may not be the best approach?

Animation Setup Offset from world zero, root at the bottom of the ladder, no root motion, with first frame at the top and ending back at the bottom.

Blueprint Setup I tell the AI to navigate to a location at the top of the ladder (which is an offset from a root marker/targetpoint at the bottom of the ladder). When the AI is within range of the offset location, I move/sweep them to the exact offset location then move the character's root to the root marker at the bottom of the ladder and execute the montage. This puts the character capsule at the bottom and animates the mesh from the top, climbing down.

This works great in a test level, but in the full game there is a single frame pop at the bottom where the character is visible. I tried to hide this pop by toggling mesh visibility before the teleport and after montage starts, but no matter how long the delay, there is always a pop at the root. The other problem is that because the animation is using a world offset, the setup is a one off and I would need a unique ladder animation for up/down for every ladder location in the game... not very useful.

I have also tried setting this up with the root at the top, no world offset, animating the root to the bottom. I turned root motion on and unexpectedly the character returned to the top of the ladder, rather than remaining at the bottom.

Any help or ideas on how to approach this is greatly appreciated.

Product Version: Not Selected
more ▼

asked Jul 23 '14 at 02:21 PM in Blueprint Scripting

avatar image

11 3 3

avatar image M.I.A.Tower May 01 '18 at 03:27 PM

Same. No Answer? :(

How does the AI know, that the ladder is a shortcut, when there is no Nav-Mesh on the ladder?

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

0 answers: sort voted first
Be the first one to answer this question
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