Limiting Monsters’ Fields-of-View
Explore how to limit monsters' fields of view in your Rust game to add strategic depth. Learn to use the FieldOfView component, update system queries, and manage monster behavior based on visibility. This lesson helps you implement a dynamic chasing system that adds uncertainty and realism to gameplay.
We'll cover the following...
We'll cover the following...
Limiting monsters’ field of view introduces new tactics. If the player can escape a monster’s line of sight, it won’t follow them. It removes the certainty that if you wait around long enough, you’ll have defeated the level’s denizens. It also adds some uncertainty—the player isn’t given many clues as to what may reside beyond the next corner.
Fortunately, we’ve already done most of the hard work. Monsters ...