# Ways to add camera shift

**URL:** <https://forums.unrealengine.com/t/ways-to-add-camera-shift/298728>\
**Category:** Cinematics & Media\
**Tags:** matrix, unreal-engine, question, CPP\
**Created:** [November 11, 2014, 11:02am UTC](https://forums.unrealengine.com/t/ways-to-add-camera-shift/298728 "2014-11-11T11:02:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vimaxus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vimaxus](https://forums.unrealengine.com/u/vimaxus)\
**Post date:** [November 11, 2014, 11:02am UTC](https://forums.unrealengine.com/t/ways-to-add-camera-shift/298728/1 "2014-11-11T11:02:34Z")

</div>

In order to do a correct perspective from a positional tracked POV I need to add camera shift. It seems there is no way to do this and I think the easiest would have been to add 2 parameters to, let’s say a camera actor.

I can’t seem to find a way to add or control camera shift. Ideally I would like a way to modify the transformation matrix used in perspective projection. I only found the FPerspectiveMatrix class which would be easily modified to suit my needs but it doesn’t seem used.

How can I force a camera to use my modified FMatrix?

---

<div class="post-metadata">

**Author:** ![Omberone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omberone](https://forums.unrealengine.com/u/Omberone)\
**Post date:** [November 11, 2014, 2:30pm UTC](https://forums.unrealengine.com/t/ways-to-add-camera-shift/298728/2 "2014-11-11T14:30:40Z")

</div>

If this is in a APlayerController class you might be able to achieve what you need by overriding APlayerController::CalcCamera(float DeltaTime, struct FMinimalViewInfo& OutResult)
