# Howto modify the projection matrix

**URL:** <https://forums.unrealengine.com/t/howto-modify-the-projection-matrix/287457>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [July 5, 2014, 7:03am UTC](https://forums.unrealengine.com/t/howto-modify-the-projection-matrix/287457 "2014-07-05T07:03:14Z")\
**Posts on this page:** 1\
**Showing post:** 72

<div class="post-metadata">

**Author:** ![anonymous\_user\_914c992f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_914c992f](https://forums.unrealengine.com/u/anonymous_user_914c992f)\
**Post date:** [July 6, 2017, 11:11pm UTC](https://forums.unrealengine.com/t/howto-modify-the-projection-matrix/287457/72 "2017-07-06T23:11:03Z")

</div>

Hi,

Thanks a lot. I managed to get your example project up ad running and it works fine. However, when I can’t get the same result when I add the OffAxisGameViewportClient class to my game. There were no errors when I was trying to compile the class and I modified the build.cs file of my project to add the dependencies

In the editor, I’ve added a camera to the level and made player 0 auto-possess that. My level blueprint is also identical to yours. I’ve also added a blank C++ game mode class and made that the one that is active in maps and modes.

No errors whatsoever, anywhere in the level blueprint either.

In project settings, I changed the default viewport class to the new C++ Off-Axis viewport class

Could you tell me what I’m missing to get this running?

Cheers,

---

_[View the full topic](https://forums.unrealengine.com/t/howto-modify-the-projection-matrix/287457)._
