medium10 pts · first answer countsgame-architecturegame-aimath
Is the player inside the view cone?
An enemy faces (1, 0) with a 90° total field of view. The normalised direction to the player is (0.6, 0.8). Is the player inside the cone?
Discussion 0
Join free to post in the discussion.
Related questions
- Variable and fixed timestepsGame Developer
- Jump pressed just before landingGame Developer
- Jumping just after leaving a ledgeGame Developer
- Why games pool objectsGame Developer
- Decoupling achievements from combatGame Developer
- A flying, swimming, shooting enemyGame Developer
- Enemy with patrol, chase and attackGame Developer
- What to put in a save fileGame Developer