How to have a Static Mesh be ignored by a NavMesh?
In my game I am spawning Static Meshes into the map during gameplay. These Static Meshes are in child Blueprints; the parent Blueprint class has an arrow component and a Sphere component.. I want the player pawn to be able to path through these Static Meshes, as they are pickups,. Right now though, the player character is pathing around the pickups. Is there a way to have a Static Mesh be completely ignored by the NavMesh, so that my player character will be able to path through the pickups? Note: I am using the Top Down Template.
asked May 29 '14 at 02:27 AM in Using UE4
If you set your Mesh component inside your Blueprint to Overlap All, that should be all you need. You'll need to make sure there isn't any collision set to Block the pawn on any other components as well. One last thing to check is in the expanded section of Collision Settings for each component: disable Can Ever Affect Navigation.
If that doesn't work, please provide some screenshots showing your collision settings for each element of the Blueprint (as well as the Component hierarchy) and we'll see if we can figure out what's causing the problem for you.
answered Jun 02 '14 at 11:24 PM
If you change the Collision Settings of your Actor. You can make NavMesh ignore the mesh. Look under Collision in the Details Tab of the Sphere. Then change the Collision Response for Pawn & Vehicle to Overlap. It can also be set to Ignore, but you want Overlap Events to occur. Preview attached! Let me know if that resolves your issue!
Also for the Child, Disable Collision. Peace
Follow this question
Once you sign in you will be able to subscribe for any updates here