For the past few weeks I have been working on a project which focuses around throwing objects in virtual reality. I created a playground to help me test the functionality and tweak parameters, and I would like to share it with the community!
- Throwing balls with the VR controllers
- Adjustable bucket distance to test throwing ranges
- Center of gravity control to make it easier to ‘flick’ throw with the wrist
- Exponential smoothing of calculated throwing speed and direction
Playground here: https://playground.babylonjs.com/#K1WGX0#36 (5.0.0-alpha.24 typescript)