// Animator parameters animator.SetFloat("Speed", agent.velocity.magnitude); animator.SetBool("InRange", distanceToPlayer <= attackRange);
private void InvestigateBehavior()
if (distanceToPlayer <= attackRange)
: Ability to spawn NPCs, dummies, or cargo planes. Technical & Developer Tools opposer vr script
In flat games, enemies aggro based on a radius. In VR, they should aggro based on whether the player is looking at them. // Animator parameters animator