06-04-2020, 09:31 AM
I'm working on a VR project for the Oculus Go. The application will be displaying a 360 degree video from a bicycle ride so elderly who need to move to stay healthy or people who need some distraction while they are cycling can cycle using a pedal trainer (cycle while sitting on a chair).
To stimulate people to keep cycling i want to add a functionality where the game will pause after a short amount of time if they stop cycling or come beneath a certain threshold. I want to use the VZFIT SDK to connect a VirZoom Speedometer to my VR application. This SDK offers a lot more functionality than i need and i can't figure out how to implement the functionality i want.
Summarized
To stimulate people to keep cycling i want to add a functionality where the game will pause after a short amount of time if they stop cycling or come beneath a certain threshold. I want to use the VZFIT SDK to connect a VirZoom Speedometer to my VR application. This SDK offers a lot more functionality than i need and i can't figure out how to implement the functionality i want.
Summarized
- I want to use a static VR camera (preferably the OVRCameraRig from the Oculus Integration Library) to allow the user to look around in a static position where the video moves through them creating the illusion of moving.
- I want to be able to read the InputSpeed from the VZController and display this value on the screen
- I want to pause the game if the speed drops below (lets say) 5kmh for more than 5 seconds
- I want to continue the game if they start cycling again and reach above 5kmh