Editor Utility Asset Action : Restrict Navigation
I'm using 'Climbing and Vaulting Component' by DeadPixelLabs, and this requires actors in the scene with static mesh components to have an Actor Tag : "NoClimb", to limit where the player can or cannot climb. For example, invisible blockers are valid to climb on by default, and it's necessary to set them on and off with a case by case filtering, which takes time. Often, the same mesh that "NoClimb" sets to be non-climbable for the Climbing component, should also have the native unreal mesh flags: "Can Character Ever Step Up On" set false and "Can Ever Affect Navigation" set false. Setting these three values over and over isn't hard but it's very boring, so a single click that can be run over a set of actors would be great.
So I put together a quick Editor Utility Asset Action to simplify all this:

The first Collapse nodes is :

The second Collapse nodes is :

This loops over all selected actors, and processes those that have StaticMeshComponents. It ignores those that are already tagged, for the tagging part.

コメント