Greetings Readers,
I came across some strange behavior in the character capsule component. Here is how I reproduced it:
- Create a new level.
- Add a navmesh volume to the level
- Add a empty character to the level from the basic section in the modes window.
- In the capsule component of the character, set the “Can Ever Affect Navigation” option.
- If you now proceed to run in Editor and check during run, this setting that was set has reverted to an unchecked state.
If you add another capsule component to the object and repeat step 4, the option stays checked at runtime. This leads me to believe that the first capsule being the root component has something to do with this behavior.
I was curious if this behavior was intended or a bug and if intended, for what purpose?
I currently manage this option in code along with runtime navmesh generation to create impassible terrain under stationary units. This is no longer a problem for me, but I’ll admit it took a solid amount of time before I realized this was happening.
If the above steps don’t produce the same results, here is some additional info on my setup:
I use UE 4.10.2 currently that was built from source, Awaiting the full 4.11 release.
I also did all there test with navmesh runtime generation set to Dynamic modifiers only and force rebuild unchecked.
Thanks