# How do I reference my first person character?

**URL:** <https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975>\
**Category:** Character & Animation\
**Tags:** error, first-person-bluepri, reference-blueprint, unreal-engine, UE4, question\
**Created:** [April 6, 2018, 12:03pm UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975 "2018-04-06T12:03:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![YoungRookster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoungRookster](https://forums.unrealengine.com/u/YoungRookster)\
**Post date:** [April 6, 2018, 12:03pm UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975/1 "2018-04-06T12:03:07Z")

</div>

Hi there,

I’m very new to Unreal Engine. I followed a tutorial by ‘UnrealCG’ to make my character push grass/wheat aside when colliding with it, however, I don’t think i’m referencing my FP character correctly as the tutorial worked immediately with a 3rd person character reference from the world.

Here’s the level blueprint

 ![236484-error-01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/8/cb80958fac26c30a2f830e5a10c9a9e9f9bfed6f.png)

And this is the world position offset in my grass/wheat material

 ![236485-error-02.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/7/16759bfada6296fc0fc0cb15f5739db223e989ea.png)

I also get this error when I hit play [Accessed none trying to read property].

![236486-error-03.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/4/084e87b9dcd3ca7c228b5b6c8b30878a6891a708.png)

Cheers in advance.

---

<div class="post-metadata">

**Author:** ![creatorue](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@creatorue](https://forums.unrealengine.com/u/creatorue)\
**Post date:** [April 6, 2018, 3:29pm UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975/2 "2018-04-06T15:29:03Z")

</div>

Well… Try to reconnect nodes to “Event Tick→Cast to PlayerCharacter→Set Vector Parameter Value”.  
  
But, maybe it doesn’t run even if you change the node like it…  
  
  
  
If so, please reply to this.

---

<div class="post-metadata">

**Author:** ![YoungRookster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoungRookster](https://forums.unrealengine.com/u/YoungRookster)\
**Post date:** [April 6, 2018, 10:48pm UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975/3 "2018-04-06T22:48:16Z")

</div>

Thanks for the reply,

It stopped the error happening so I assume it worked! Although it still isn’t making the wheat move. Is it perhaps a collision option that I’m unaware of?

Here’s the re modified blueprint (Hope I got it right)

 ![236564-error-04.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/d/bad1a7e8bee0bb950f9156d6602e4c28fdb5e140.png)

And here’s my wheat mesh collision properties

 ![236565-error-05.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/e/c7e07f15a86cf6dc5fee144741ef5b59a2ad5df9.png)

Thanks again.

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [April 7, 2018, 3:47am UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975/4 "2018-04-07T03:47:30Z")

</div>

1. you shouldn’t run this off tick, maybe an overlap connected to a timeline or something that shuts off when the player stops contacting the wheat
2. Your collision is set to “no collision” so nothing will happen, that is why the wheat doesn’t move

---

<div class="post-metadata">

**Author:** ![YoungRookster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoungRookster](https://forums.unrealengine.com/u/YoungRookster)\
**Post date:** [April 7, 2018, 7:37am UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975/5 "2018-04-07T07:37:17Z")

</div>

Thanks for the tips.  
Should I set the wheat to trigger, and if so, which nodes would one use to check whether your FP character is colliding with the wheat?  
I’ve been attempting to do as you said, unfortunately to no avail.

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [April 7, 2018, 12:29pm UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975/6 "2018-04-07T12:29:41Z")

</div>

It doesn’t really matter what you use as long as the collision setting you apply overlaps pawns. And the nodes you use are “on overlap” and “cast to (whatever your character is)”

---

<div class="post-metadata">

**Author:** ![YoungRookster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoungRookster](https://forums.unrealengine.com/u/YoungRookster)\
**Post date:** [April 7, 2018, 12:49pm UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975/7 "2018-04-07T12:49:56Z")

</div>

Ok i’ll give it a shot in the morning, thanks a bunch for your help 🙂

---

<div class="post-metadata">

**Author:** ![YoungRookster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoungRookster](https://forums.unrealengine.com/u/YoungRookster)\
**Post date:** [April 10, 2018, 8:29am UTC](https://forums.unrealengine.com/t/how-do-i-reference-my-first-person-character/421975/8 "2018-04-10T08:29:49Z")

</div>

If anyone finds this post and is interested in the solution the mesh is set to NoCollision and this is the level BP layout

 ![236969-123.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/3/3834f486192b93297613656b0123312dec293c6b.png)

Note that this is for the first person character.

Set the vector parameter value to a material parameter.

Here is the material layout you’ll need too

 ![236981-1234.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/4/db4a80cb540875bd4dfbed83b478cb28d669975b.png)

Thanks to everyone who helped
