Unity Create a Game Series (E03. enemies)

In episode three we create an enemy to chase the player around. FAQ: Q: QueryTriggerInteraction does not exist in the current context? A: Upgrade to Unity 5.2 , or leave that parameter out and turn on raycast triggers in the physics settings (edit - project settings) Q: Why use raycasts instead of OnTriggerEnter to detect projectile collisions? A: At very high projectile speeds OnTriggerEnter might not be called (since the projectile would be in front of enemy one frame, and through it the next). Raycasti
Back to Top