YSCEDC / YSCE

YSFlight Community Edition
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

[BUG] Radar Warning Reciever shows targets that are cold to the player's position #48

Open NodokaHanamura opened 1 year ago

NodokaHanamura commented 1 year ago

YSCE Build Number ysce-rwr-testing (JOBBIN Build)

System Specifications Operating System: Windows 10 CPU: AMD Ryzen 5 3600 GPU: NVIDIA GTX 3060 12GB RAM: 32GB DDR4

Describe the bug Aircraft on the RWR that are not facing towards the player shouldn't show up on the radar.

To Reproduce Steps to reproduce the behavior:

  1. Enter any air combat mode.
  2. Fly behind an aircraft
  3. Notice their RWR track is present on the RWR HUD indicator.

Expected behavior RWR Tracks for aircraft that are not 'illuminating' the aircraft (within the weapons lock FOV) shouldn't be present.

Additional context This isn't that big of a deal right now since we implemented the RWR as a basic implementation for use later, but it helps to know this is an issue that needs to be sorted before we do anything more advanced.