Actor Significance Game Viewport Client
Viewport client to update Significance.
Previously we added our component to an actor but have not defined how the significance is updated. Significance is not updated on the player position but instead it is based on the camera viewpoint. To make things easier the plugin includes a custom Viewport Client that takes care of everything.
Automatic method
The custom viewport client that comes with the plugin will automatically update the significance value so you don't have to worry. To use this method follow the below steps:
Open Project Settings.
From General Settings category, set Game Viewport Client Class to ActorSignificanceGameViewportClient.

That's it! Now when you play the game, the significance is automatically updated for all actors where the component was added.
Manual method
If for some reason you dont' want to use the Viewport Client mentioned above, no worries! You can call the Update Significance method manually from the Tick Event of your Player Controller and you're good to go!

Just remember that if you are using the Automatic method then you don't need to call the Update Significance function anywhere at all.
Last updated
Was this helpful?