Hello,
Why Static Meshes continue blocking Hit Events even after switching off Can Ever Affect Navigation on static meshes?
Video of what I’m talking about Dropbox - Error
Hi aristides,
Where is the hit event that you’re speaking of? Is the hit event between the character and the box, or the cursor and the box? If you attempt to click on the other side of the box with Can Ever Affect Navigation turned off, does the character run into the box without trying to navigate around it? Does the issue still occur if you turn off collision for the static mesh in question?
Hey ,
Thank you for your reply. I guess the problem is that the mesh’s collision also blocks the mouse input events on the Navigation mesh. As soon as any mesh appears under the cursor the character stops moving. Which is odd considering that the simple static mesh isn’t supposed to have any interaction with the mouse whatsoever.
If I switch the collision off it solves the problem but the character now walks through the static mesh. If I switch the collision to Invisible wall it does the trick but now the character tries to walk into the obstacle instead of trying to go around it.
Is it possible for the static mesh to affect path finding but not affect the navigation mesh?
Ah I see what your problem is now. The thing you’re looking for are collision channels. If you’re using the default Top Down template, the click-to-move hit event is being done through the Visibility collision channel.
To make it function the way you want to, you need to select the blocks and change the collision preset to ‘Custom…’. After that, you’ll be able to set the individual channels. If you set ‘Visibility’ to Ignore but keep everything else set to Block, it should let you click right through it.
Have a nice day,