Download

Calculating Distance covered by Vive Hand controller

Hi I have a physical cube (regular cardboard box) that is overlapped with a virtual cube. I have a Vive motion controller attached to the box (physically attached and also attached via pawn blueprint). When a user pushes the physical box the virtual box moves in sync. I would like to calculate the distance covered by the cube in a 30 second period.
I have used a blueprint like this for calculating pawn distance before. Is this the best way to go for VR** or** is there a more accurate way to measure real-world distance from a vive hand controller ?

Sorry about that - here you go…