How to find Oculus Touch controller forward vector in C++
I am trying to make a teleport system where the user chooses their location with the touch controller. Kind of like the way roborecall does it but without needed to press any buttons to show teh destination. Still at the phase of getting it to work.
NOTE the system using the HMD but when I try to use the controller it will only put the marker right below my hand
In my character class I included #include "MotionControllerComponent.h" #include "XRMotionControllerBase.h"
Then in my constructor I have (the controllers show up and are tracking) LeftController = CreateDefaultSubobject(TEXT("LeftController")); LeftController->SetupAttachment(VRRoot); LeftController->MotionSource = FXRMotionControllerBase::LeftHandSourceId;
Then to update the destination I have the following code
asked Apr 24 '18 at 11:16 PM in VR
Follow this question
Once you sign in you will be able to subscribe for any updates here