AI Constraints and the Evolution of Perspective
Previously, obstacles were placed to constrain the AI's movement. Instead of chasing in a straight line, the enemy was forced to navigate around barriers. However, it was difficult to visually grasp how the enemy perceived its surroundings.
This time, the concept of perspective was introduced. The enemy now has a defined direction and a limited field of view. By setting a viewing angle and distance, a sector-shaped vision range was drawn, making it clear where the enemy is looking.
Vector operations played a key role in determining visibility. The angle between the enemy's direction vector and the vector toward the player was calculated to check if the player was within the field of view. For movement, the difference vector toward the player was obtained and scaled to a fixed magnitude, enabling smooth pursuit.
By giving AI a sense of perspective, we rethink how it "sees." It’s no longer just about movement but about recognizing space and deciding how to act—bringing that step to life.
Other Videos By sakkharin
2025-03-16 | Biorhythm |
2025-03-16 | 17 March 2025 |
2025-03-16 | Assembly Language: The Building Blocks of Scientists |
2025-03-16 | Pilot version of a tower defence game. |
2025-03-15 | 16 March 2025 |
2025-03-15 | The 8-Bit Wizard! Let's Make Games with TIC-80 |
2025-03-15 | 16 March 2025 |
2025-03-15 | laying the foundation for modern digital communication. |
2025-03-15 | Mitochondria play an essential role in sustaining our vitality. |
2025-03-15 | 15 March 2025 |
2025-03-14 | AI Constraints and the Evolution of Perspective |
2025-03-14 | The Evolution of AI Movement: Constraints and the No Free Lunch Theorem |
2025-03-14 | 15 March 2025 |
2025-03-14 | Dice Trick and the Sum of Probabilities |
2025-03-13 | These forces are the bureaucratic system, the foreign exchange market, the stock market |
2025-03-12 | Oscar Wilde Dio Brando, Charles Baudelaire Griffith |
2025-03-12 | What Is the Happiness of the Market?—Keynes' Perspective |
2025-03-11 | Sleep onset steps for insomniacs. |
2025-03-11 | Who Defined Uniform? |
2025-03-11 | metaballs |
2025-03-10 | Chip-8 is the essence of minimalism. |