Daydream VR throwing action

Hi all,

I’m looking for a way to achieve a 6DoF style throwing interaction using a 3DoF controller. I have been unsuccessful in finding any tutorials for UE4, while there have been a few for Unity using some of its engine specific objects.

Does anyone have any experience with this or an idea of how to achieve this?

Thanks,
Velrin

Usual approach I’ve seen and tried is to use the HMD look direction to determine where the player wants to throw. Then the controller movement is mostly used to trigger a throw, rather than define it. You can get a reasonable power for the throw from the controller. Taking the HMD look direction you pick a throw target from the scene - ray cast. Then it is fairly simple maths to find the launch velocity needed to throw from where you have the hand to the throw target. That gives you a perfect throw. Then, you look at the motion from the controller, decide how close to what an “ideal” throw that is in order to adjust the perfect launch velocity down to give a flawed, but plausible throw. That is assuming you don’t just want perfect throws.