It’s all the title. We’re using mouse control and blueprints to link InputAxis to AddControllerYaw/PitchInput, and when SimpleHMD is enabled, the pitch becomes locked (yaw continues to work). This is without an HMD plugged in.
Our workaround is to disable the plugin for HMD’les development, but a fix would be appreciated.
If you look into the SimpleHMD plugin folder, in SimpleHMD.cpp, FSimpleHMD::ApplyHmdRotation, you’ll notice the following line:
DeltaControlRotation.Pitch = 0;
To override this behavior, create a copy of the SimpleHMD plugin local to your project in which you comment out this line. Instructions on how to override a built in plugin are available in this tutorial:
First of all, sorry for my English (I’m from Spain and English is not my first language).
I tried that solution (comment out the line: DeltaControlRotation.Pitch = 0;) but nothing seems to happen in my project (UE 4.10.2)
Pitch is still locked and i would like to use the mouse for this.
I followed the tutorial to override built in Plugin.
First of all, sorry for my English (I’m from Spain and English is not my first language).
I tried that solution (comment out the line: DeltaControlRotation.Pitch = 0;) but nothing seems to happen in my project (UE 4.10.2)
Pitch is still locked and i would like to use the mouse for this.
I followed the tutorial to override built in Plugin.
Please add a comment and up vote question instead of an “answer” last time. I’ll ask the same question:
Did you replaced the line directly on the Unity Engine source, or on a local plugin?
You need to add the log yourself. You can remove it later once you confirm it’s showing up. Try to log a message right next to the pitch changed line and make sure it gets printed.