UE4 series article directory
Article Directory
foreword
First look at the effect, when the character approaches the backpack and then looks at the backpack, the backpack will be highlighted.
1. How to achieve
1. Create a blueprint interface for the selected item
In the "Content" window, right-click to select "Blueprint" -> Blueprint Interface, name it PickUpSystem
2. Add a post-processing volume cube
"Visual Effects" -> "Post-processing volume" and drag it into the scene In
the details panel: find "Post-processing volume settings" -> "Infinite range (limited)" tick, so that items can be picked up in the scene
3. Set the collision detection of picked up items,
"Collision Preset", "Collision Enabled", "Object Type" Note that these options must be set correctly, otherwise the picked item cannot be highlighted
4. Specific blueprint