# getting view vector on clients

**URL:** <https://forums.unrealengine.com/t/getting-view-vector-on-clients/38535>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [August 14, 2015, 8:00pm UTC](https://forums.unrealengine.com/t/getting-view-vector-on-clients/38535 "2015-08-14T20:00:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [August 14, 2015, 8:00pm UTC](https://forums.unrealengine.com/t/getting-view-vector-on-clients/38535/1 "2015-08-14T20:00:07Z")

</div>

I’m working on the weapons effects likes impact sparks and bullet holes. Unfortunately, in order to do this I need to know which direction the player was looking when he fired his weapon. That’s not a problem for the local player since he has access to the player controller. But that’s not the case for the non-local clients. Is there a way to get the view angles for the non-local clients or do I need to create a replicated variable with the info inside the pawns?
