Ever watched videos of rich people in headsets hugging Roblox players but couldn’t join the fun?
Well now you can!
With Roblox 3D, you can control your Roblox character neck to knee like in VR, but using only a webcam and no headset.
Fun Ideas
- Yoga and stretches
- Emotes, waves and dances
- Act-guessing game
- Ground signals for planes
Features
- Control your R15 character pose (neck, shoulders, elbows, hips, legs and knees)
- One-dimensional flat pose (for now)
- Authorization and access control
- Sleak, ready-to-go in-game GUI
How it Works
A Python script running on your computer takes your webcam video feed, and estimates the location of the 3D points on your body, using an advanced artificial intelligence by Google/MediaPipe. This pose data is repeatedly sent several times a second to a third-party server, where a Roblox server constantly downloads it, and finally rotates your character’s body parts.
Continue reading: https://github.com/mmbaguette/Roblox-VR-with-Webcam#how-it-works
Note: This program does not upload your webcam image online, only the 3D data that was processed by the machine learning model.
Getting Started
All setup instructions are on the GitHub page below (NEVER download from anyone but mmbaguette/myself because they’re untrusted). At the time of posting, I was too lazy to finish setup instructions for games, so for now just test it at my place and hope you don’t crash the free server.
Concerns
I know that blindly downloading programs online is an unsafe idea, which is why this project is open-source, heavily documented, and simple to understand. Even if you only know a little scripting, I encourage you to read a few lines of Python code (similar to Lua) in main.py
, but this is best viewed using an IDE like Visual Studio Code. Please ask questions or concerns if you have any!
Contributing
I could really use both talented Lua and Python scripters, and especially if you’re good at 3D physics (pls send help) to contribute. After all, it should be a community project. Some things I want to see:
- Full 3D rotations (not just on the one, flat axis we have already)
- 3D head rotation
- Faster serve upload
- Better solution to send pose data to Roblox game (important for accessibility)
- Someone volunteers their server for everyone to use
GitHub page: https://github.com/mmbaguette/Roblox-VR-with-Webcam
My testing place: VR using a Webcam 📷 🥽 - Roblox
Roblox model: Virtual Reality and 3D Camera - Roblox
Update
It turns out setting this up was more difficult for the average user than I thought. I’ve been working closely with someone to figure this out. I might release a video soon demonstrating setup or someone else can before I do.