/Ball-VR

A ball rolling experiment in VR

Primary LanguageTypeScriptOtherNOASSERTION

Ball VR

A ball rolling experiment in VR.

Playable Demo : https://ball-vr.sbcode.net

Ball-VR Demo

Oculus Quest 2 VR

  • Right Controller : Roll forwards, backwards, change direction.

Desktop

  • Roll : WASD
  • Look/Change Forward Direction : Mouse

Develop

  1. Clone Repository
git clone https://github.com/Sean-Bradley/Ball-VR.git
  1. CD into folder
cd Ball-VR
  1. Install TypeScript
npm install -g typescript
  1. Install dependencies
npm install
  1. Start it
npm run dev
  1. Open browser and visit https://127.0.0.1:8080

Note that it creates a self certified SSL cert for your dev environment.

If you are accessing your dev server across a network, then you will need to allow access to port 8080 on your development machine.

I use Windows 11 with my dev setup, I have allowed connections to port 8080 using the Window Defender Firewall (Advanced Settings) and I can can connect to my dev servers internal network IP address, eg https://192.168.1.123:8080 using the chrome browser in the Oculus Quest 2.

For more in depth information on production server deployment options, such as SSL, Domain name & Cloud hosting, visit https://sbcode.net/threejs/nginx-host/

Support

To help support my free projects, please take a look at my ThreeJS and TypeScript Book

   https://www.amazon.com/dp/B09GYTKRCH
   https://www.amazon.co.uk/dp/B09GYTKRCH
   https://www.amazon.in/dp/B09GYTKRCH
   https://www.amazon.de/dp/B09GYTKRCH
   https://www.amazon.fr/dp/B09GYTKRCH
   https://www.amazon.es/dp/B09GYTKRCH
   https://www.amazon.it/dp/B09GYTKRCH
   https://www.amazon.nl/dp/B09GYTKRCH
   https://www.amazon.co.jp/dp/B09GYTKRCH
   https://www.amazon.ca/dp/B09GYTKRCH
   https://www.amazon.com.br/dp/B09GYTKRCH
   https://www.amazon.com.mx/dp/B09GYTKRCH
   https://www.amazon.com.au/dp/B09GYTKRCH

and my ThreeJS and TypeScript courses at Udemy, YouTube (Channel membership required) and Skillshare

This is only just the beginning of what you will create.

Course Discount Coupons : https://sbcode.net/coupons#threejs

ThreeJS and TypeScript Course