Persistent Open World NPC optimization component for any character class. Compatible with behavior tree and any AI logic. Component runs on timer, instead of Tick for additional performance and supports Dispatchers and Events associated with it
Tutorial how to setup component
This component provides performance boost by optimizing the NPC out of sight of the camera.
The component is completely autonomous — you just need to add it to the AI (NPC) class.
The component works only with the class-Character class. If you have more skeletal meshes in your class (for example: another skeleton hand for a first person or a skeleton mesh for weapons or static meshes (for example, shields or weapons), the component will also work with them.
But component optimizes only the skeleton mesh and movement your NPCs, because this is what loads the system.
Everything else UE4 optimizes independently.
The NPCs outside of the camera's field of view (the view frustum) aren't visible, and can be culled. The rejected NPCs outside the truncated camera view are no longer displayed, leaving only a handful of NPCs within this view.
In online mode, the Component works with the client. All objects that are out of sight still remain in the game world, so if you use a dedicated server, other players will be able to see them. So you get the load on the system only those NPCs that are visible in the frame.
Features:
Number of Blueprints: 4
Number of Components: 1
Input: demo uses keyboard and mouse inputs.
Network Replicated: Yes.
Supported Development Platforms: (Windows, Mac)
Supported Target Build Platforms: (Windows, Mac)
Documentation: How add and setup component