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"

Changing height of AI agent to work in Navigation Mesh

Hey Guys,

I have an AI agent (derived from ACharacter) that works perfectly when i use MoveToLocation if its capsule height is 88.0 and radius is 39.0. My issue is when I double the size to 196 height and 78 radius (so that I can double the scale of Skeletal Mesh), the MoveToLocation no longer works. I tried to fiddle with the Recast Navmesh settings, but it didn't really help. Can some help me with this?

Thanks

Product Version: Not Selected
Tags:
more ▼

asked Jul 18 '14 at 07:00 AM in Using UE4

avatar image

kishoreven
302 13 13 25

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

2 answers: sort voted first

Hi,

I've tried this before and the only 'gotcha' I found was that my entities ended up getting spawned slightly under the NavMesh once i increased their bounds. Perhaps this is your problem?

more ▼

answered Jul 21 '14 at 09:36 AM

avatar image

Tom Sarkanen STAFF
1.7k 39 12 53

avatar image kishoreven Jul 22 '14 at 03:59 AM

I actually thought of that too. So I spawned my antimatter way above the ground and let the gravity do its job :P. But I do see your point. Maybe I should try some custom z positions.

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

Hey, have you tried creating a second Navigation agent in "Project Settings > Navigation System > Agents", and set the second agents radius/height to your new character size. This should auto-create (when navigation rebuilds/ or close/reopen project) a new Navmesh bounds volume in your level that fits the new agent dimensions.

I think (the last I heard), the navigation system then automatically picks the best fit navmesh bounds volume for your character based on the characters size (you might have to ask someone else here for more details on the sepcifics tho (what size it uses, collision capsule, movement component details etc..)...

more ▼

answered Jun 30 '16 at 01:58 PM

avatar image

Mach45
68 7 14 20

(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