# Raycasting in Third person shooter template C++

**URL:** <https://forums.unrealengine.com/t/raycasting-in-third-person-shooter-template-c/396972>\
**Category:** C++\
**Tags:** raycasting, unreal-engine, CPP, question\
**Created:** [July 4, 2017, 3:13pm UTC](https://forums.unrealengine.com/t/raycasting-in-third-person-shooter-template-c/396972 "2017-07-04T15:13:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HEAVEN992](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HEAVEN992](https://forums.unrealengine.com/u/HEAVEN992)\
**Post date:** [July 4, 2017, 3:13pm UTC](https://forums.unrealengine.com/t/raycasting-in-third-person-shooter-template-c/396972/1 "2017-07-04T15:13:36Z")

</div>

Hello,  
I’m trying to use the Raycasting in Third person shooter template (c++).  
I’m following a youtube tutorial which used the First person template and trying to implement it in the Third person template.  
But I cannot find anything similar to “FirstPersonCameraComponent” in third person character.  
How can I solve this issue. Do I need to create a new camera component for third person? I tried to search but cannot find any solution. Please assist me to solve this issue. I can share if any information needed from my side.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![AmphDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AmphDev](https://forums.unrealengine.com/u/AmphDev)\
**Post date:** [July 4, 2017, 3:34pm UTC](https://forums.unrealengine.com/t/raycasting-in-third-person-shooter-template-c/396972/2 "2017-07-04T15:34:47Z")

</div>

Open up ThirdPersonCharacter.h and search UCamerComponent like this:

```
/** Camera */
	UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Camera, meta = (AllowPrivateAccess = "true"))
	UCameraComponent* Camera;

```

I think in thirdpersoncharacter project named something like thirdpersoncamera or something 🙂
