# How would you implement a character's field of view?

**URL:** <https://forums.unrealengine.com/t/how-would-you-implement-a-characters-field-of-view/337669>\
**Category:** Character & Animation\
**Tags:** rts, field-of-view, unreal-engine, follow, enemy, question\
**Created:** [November 7, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/how-would-you-implement-a-characters-field-of-view/337669 "2015-11-07T20:14:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AleSpini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AleSpini](https://forums.unrealengine.com/u/AleSpini)\
**Post date:** [November 7, 2015, 8:14pm UTC](https://forums.unrealengine.com/t/how-would-you-implement-a-characters-field-of-view/337669/1 "2015-11-07T20:14:51Z")

</div>

I’m making a RTS game and I would like to give each character a field of view. So that, for example, if he sees an enemy, he begins following him. I’m sure that UE4 will help me with that!

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [November 7, 2015, 8:16pm UTC](https://forums.unrealengine.com/t/how-would-you-implement-a-characters-field-of-view/337669/2 "2015-11-07T20:16:10Z")

</div>

Have you tried PawnSensing Component?

---

<div class="post-metadata">

**Author:** ![AleSpini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AleSpini](https://forums.unrealengine.com/u/AleSpini)\
**Post date:** [November 8, 2015, 9:36am UTC](https://forums.unrealengine.com/t/how-would-you-implement-a-characters-field-of-view/337669/3 "2015-11-08T09:36:33Z")

</div>

No, is it possibile to use it with c++?

---

<div class="post-metadata">

**Author:** ![Blueyes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Blueyes](https://forums.unrealengine.com/u/Blueyes)\
**Post date:** [April 14, 2017, 4:25am UTC](https://forums.unrealengine.com/t/how-would-you-implement-a-characters-field-of-view/337669/4 "2017-04-14T04:25:06Z")

</div>

thanks guys，i get it
