Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using only VZController to read InputSpeed
#2
You should be able to place the VZController.prefab in your scene. Then from your game script, lookup the VZController component on it and call ConnectBike().

If you pedal and connect the VZ Sensor then IsBikeConnected() will then return true.

It then checks for a license so that IsBikeLicensed() returns true.

Then you will be able to get InputSpeed. It's units are in estimated meters/second, you can convert and compare to 5 kmh to pause and resume your game script.

Good luck!
Reply


Messages In This Thread
RE: Using only VZController to read InputSpeed - by emalafeew - 06-04-2020, 09:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)