I’m struggling to get the world transform (position and orientation) for my right hand VR motion controller (I have a HTC Vive). I added two static mesh components to my pawn to show the hands in VR like this:
but now I’m failing to get the world (NOT the device coordinates, i.e. the coordinates relative to the room but rather the world coordinates relative to the 3D scene I’m in) position and orientation for my right hand controller. Using rightMeshComponent’s getWorldTransform isn’t working (I get wrong positions).
Can anybody help with this?