WVR_EXPORT void WVR_SetArmModel(WVR_SimulationType type)
Function to replace controllers’ with an arm model simulation or not. If one pose is simulated by an arm model, its is6DoFPose will be always false.
- API Level 3
type: Indicates WVR_SimulationType.
How to use¶
Here is an example for the function:
#include <wvr/wvr_device.h> WVR_SetArmModel(WVR_SimulationType_Auto); WVR_SetArmSticky(false); //default, can be skipped WVR_SetArmSticky(true); //controllers always follow HMD even steady on the desk