[4.17.2] UHeadMountedDisplayFunctionLibrary::ResetOrientationAndPosition() Error
Hi hi I was created a blank c++ project (TestProject) and created other c++ template project of thirdperson (TempProject)
In TestProject, I create a character c++ (MyCharacter) In MyCharacter class, I was following the TempProject, the TemplateCharacter class however the error occur
the problem of the error is the line of code
may i know why and how to solve it ? thanks :D
Hi Ka Wai, Try adding a string "HeadMountedDisplay" to the PublicDependencyModuleNames variable in your [ProjectName].Build.cs file (probably FYP_Game_Development.Build.cs file).
Somewhat like this:
Hope this helps.
Looks like your code doesn't know what the function is. You may need to include the header for the code to be found. The documentation for the function can be found here: https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Kismet/UHeadMountedDisplayFunctionLibra-/ResetOrientation-/index.html.
At the bottom, it shows what module and header will be needed - "#include Runtime/Engine/Classes/Kismet/HeadMountedDisplayFunctionLibrary.h"
answered Oct 16 '17 at 11:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here