-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Objects interacted with by the player will emit sounds, in order to make this make sense only player caused sounds sould be taken into account for the hearing system.
A system to propagate player noise emissions could be implemented.
For example, an object thrown by the player using the gravity gun will emit a noise on impact, however, if it hits another physics object, it will also mark that object so it will be allowed to emit a noise for a few moments.
Physics objects have a noise range, this noise range is the maximum possible range NPCs can detect noises emitted by the object.
Noise events may have a priority system, so the NPCs can react to them while investigating something else if it's a more important thing.