Can navigation be used with sprite floors?
I've recently finished figuring out how to implement a very simple tap to move interface for my Paper2D side scroller type project (IE, tap a spot and the player character walks over to it and idles), but I've found that the navigation system doesn't seem to allow me to use a "simpleMoveTo" unless I have an actual static mesh as the floor. I've experimented with using sprites as my floors, but have yet to find a simple way to make it work.
I have considered using the sprite assets and attaching an invisible/non-rendered static mesh component for use with the navigation system, but if anyone might have an idea how to have the navigation system just allow me to walk over the floor sprites I'd be grateful for the input.
I've attached my very basic tap to move BP below. Please note that the variable is unnecessary for basic operation, I just haven't removed it as yet.
asked Apr 07 '16 at 11:41 PM in Blueprint Scripting
I'm not sure. But if you press "P" in the editor you can visualize the NavMesh (after you've built). So try both ways and see if it works. It might just be that you have to have a static mesh just behind the sprite and the sprite on top.
Also sprites have got a thickness setting. It might just be that the NavMesh system needs a certain minimum floor width to work, so try play with that.
answered Apr 08 '16 at 12:23 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here