Skip to main content
New Participant
December 21, 2013

Resetmotioninput()

Hi all - My understanding is that this executive function is supposed to set whichever way the HMD is now facing as forward. #1 - is that right?

#2 - I can't seem to get this function to do anything. Looking at the code from Playercontroller, this just calls Oculus.resethmdyaw(), which is a native function so I can't see what it is doing. When I call resetmotioninput(), I don't get any errors, and have verified that the function is actually getting called...but I don't see any impact on the orientation of the player's viewpoint. Any ideas?

Also, in what might be a related issue, I'm getting this warning in the log file:
[0001.96] Warning: Warning, Failed to load 'Class None.engine-ini:Engine.Engine.OculusClass': Can't find 'engine-ini:Engine.Engine.OculusClass' in configuration file section=Engine.Engine key=OculusClass ..\..\UDKGame\Config\UDKEngine.ini
[0001.96] Warning: Warning, Can't find 'engine-ini:Engine.Engine.OculusClass' in configuration file section=Engine.Engine key=OculusClass ..\..\UDKGame\Config\UDKEngine.ini


I didn't touch the Oculus part of the configs, but it is looking like maybe it isn't loading the Oculus class? Any idea why that might be?

Thanks for the help.
    This topic has been closed for replies.

    3 replies

    Inspiring
    December 21, 2013
    Not sure, but I have asked someone on the engineering team for details.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    December 27, 2013
    You are correct: it resets to forward direction. You can easily test this function on fresh installation of OUDK, in the main menu screen. Look somewhere (like, left or right) and type this function's name in the console: the menu should jump back in front of you.
    I am not sure why do you see those warnings, there should be none, and this might be a reason of the issues you are seeing.
    Up and Coming
    December 27, 2013
    I get the exact same warnings. Don't know why though. Using UDK 2013-09.