Download

OutPosition parameter from GetHandPositionAndOrientation()

Hi everyone,

I need a quick help on how the function GetHandPositionAndOrientation() works:

One of the parameter’s name is OutPosition, which outputs the position of the hand.
I need this Vector output for my other C++ function, but how do I access that parameter and take it as an output?

(Note that the SteamVRFunctionLibrary.cpp, where the function is defined, is in a “Private” folder)

Thanks a lot!!

Solved!

To use the function, simply add “SteamVR” to the Build.cs as PrivateDependencyModuleNames, then click right at the .uproject file, choose Generate Project Files, add “SteamVRFunctionLibrary.h” at your own project, and voila!