# How can I trace camera's field of view area?

**URL:** <https://forums.unrealengine.com/t/how-can-i-trace-cameras-field-of-view-area/489533>\
**Category:** Cinematics & Media\
**Tags:** debug-trace, unreal-engine, question\
**Created:** [October 4, 2021, 8:30pm UTC](https://forums.unrealengine.com/t/how-can-i-trace-cameras-field-of-view-area/489533 "2021-10-04T20:30:27Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 6, 2021, 1:17pm UTC](https://forums.unrealengine.com/t/how-can-i-trace-cameras-field-of-view-area/489533/13 "2021-10-06T13:17:20Z")

</div>

Clarity, nah. It has _nothing_ to do with components per se. You can feed it any world location you want. In UE4 the root component’s world loc _happens_ to be reported as actor world location, that’s it.

Dot Product is not a UE4 thing. It needs a direction derived from a normalised world vector. You need to account for actor bounds.

Perhaps this will help visualise better what dot product spits out:

> [@How to create God of War targetting system?](https://forums.unrealengine.com/t/how-to-create-god-of-war-targetting-system/210302/2):
>
> [The Dot Product](https://en.wikipedia.org/wiki/Dot_product) of 2 directional vectors will be in range of -1 to 1. Anything that’s above 0 is in front of you, anything below 0 is behind (and every other value in between matters, too!) I grab all the actors around the player using a Sphere Overlap (as in the original suggestion) and loop through the elements of the array, checking my angles - Dot player’s forward and the direction to each target. For dot values greater than .5 I mark the target, and add that actor to the array…

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-trace-cameras-field-of-view-area/489533)._
