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"

Flipbooks and NavMesh

I have a flipbook that uses just ONE frame and I've tried with "First Frame Collision" setting and "Each Frame", but for the NavMesh it does not exist as an obstacle.

Other objects and Pawns collide fine, though.

If I simply spawn the sprite of that single frame, it gets detected by the NavMesh.

Am I doing something wrong?

Thank you.

Product Version: UE 4.16
Tags:
more ▼

asked Aug 24 '17 at 10:54 AM in Using UE4

avatar image

Son_Akira
1 2 2

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

1 answer: sort voted first

Ok, old question. And nobody seemed to pay any mind to it.

Still, I've found the solution, so... in the unlikely scenario somebody needs it, here it is:

It's actually fairly simple, it's just a bool inside UActorComponent you can see using the UActorComponent::CanEverAffectNavigation() and set through the predictable SetCanEverAffectNavigation(bool b) of the same class.

I'm not sure why by default it works for sprites, but you have to set it for flipbooks. That's not really that important.

Happy coding, everyone.

more ▼

answered Oct 31 '17 at 03:05 PM

avatar image

Son_Akira
1 2 2

(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