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.

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.