Determining whether an object is in the field of view of another object is quite common in the field of game development.
Let's say we have a certain angle and distance at which this object can see other objects.
It makes no sense to mindlessly shoot rays in all directions to determine whether this object is included in the field of view.
https://creex.ru/field-of-sight-with-obstacles
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Determining whether an object is in the field of view of another object is quite common in the field of game development. Let's say we have a certain angle and distance at which this object can see other objects. It makes no sense to mindlessly shoot rays in all directions to determine whether this object is included in the field of view.
Advertisement
Recommended Tutorials
Other Tutorials by alex443
alex443 has not posted any other tutorials. Encourage them to write more!
Advertisement