AR Multiplayer Basketball

Exploring ARKit and MultipeerConnectivity on iOS.


Luiz Sordi


Sceneform, Bullet Real-Time Physics

With Apple opening up their MultipeerConnectivity Framework for AR, I wanted to play around with making a shared AR experience. Users can now pass peer-to-peer data back and forth, letting them not just see what the other person was seeing, but also potentially affect that view in realtime.

I thought that a simple game of basketball could be a good test, letting users shoot balls at the same game and even deflect shots. A physics engine let the balls bounce off of the environment, and I could detect collisions through the P2P data.