forked from cgvr/DeltaVR
npcs turn towards the player separately from being aggroed
This commit is contained in:
@@ -24,7 +24,7 @@ public class NPCTriggerArea : MonoBehaviour
|
||||
if (isEnter && other.gameObject.tag == "Player Head")
|
||||
{
|
||||
|
||||
npcController.PlayerApproach(other.transform);
|
||||
npcController.PlayerApproach();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user