The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 907 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 907 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using only VZController to read InputSpeed
#1
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
  • 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
How would i go about to implement this functionality?
Reply


Messages In This Thread
Using only VZController to read InputSpeed - by RobinUit - 06-04-2020, 09:31 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)