How make field of sight with obstacles?

Published January 18, 2021 by alex443
Do you see issues with this article? Let us know.
Advertisement
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
Cancel Save
0 Likes 0 Comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!

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

Other Tutorials by alex443

alex443 has not posted any other tutorials. Encourage them to write more!
Advertisement