Merge cut contact-hud (Soul verdicts cut-contact-hud.s1, .s2)

This commit is contained in:
Meta Vens 2026-10-13 08:48:13 +02:00
commit 16466b148a
11 changed files with 156 additions and 58 deletions

View file

@ -603,8 +603,7 @@ public class ZoneRenderer : MonoBehaviour
var distance = length(difference);
entityInstance.CompassIcon.gameObject.SetActive(
PerspectiveEntity.EntityInfoGathered.ContainsKey(entityInstance.Entity) &&
PerspectiveEntity.EntityInfoGathered[entityInstance.Entity] > Settings.GameplaySettings.TargetDetectionInfoThreshold &&
PerspectiveEntity.ContactOf(entityInstance.Entity).Tracked &&
distance > _minimapDistance);
entityInstance.CompassIcon.transform.rotation = Quaternion.Euler(0, 0, Mathf.Atan2(difference.y, difference.x) * Mathf.Rad2Deg - 90);
}