We're excited to announce a brand new scene in the ViroReact Expo Starter Kit: Physics Demo - an interactive AR bowling game that introduces developers to ViroReact's powerful physics engine!
What's New?
The Physics Demo brings real-world physics simulation to the starter kit through a fun, playable bowling mini-game. Select a plane in your environment, drag the bowling ball, and watch as Viro's physics engine handles the collision, knockdown, and interaction between objects!
Perfect for Getting Started with Physics
This basic demo is designed to give developers a solid introduction to understanding of how to implement physics in ViroReact applications. Whether you're new to AR development or just exploring, this scene provides a practical, hands-on example you can learn from and build upon.
Key Features
✅ Real Physics Simulation - Gravity, collisions, mass, friction, and restitution all working together
✅ Interactive Gameplay - Drag and throw a bowling ball to knock down pins
✅ Static & Dynamic Bodies - Learn the difference between fixed and moveable physics objects
✅ Boundary Constraints - Invisible walls demonstrate collision containment
What You'll Learn
Setting up a physics world with gravity Creating static physics bodies (bowling alley, walls) Implementing dynamic physics bodies (ball, pins) Configuring physics properties (mass, friction, restitution) Managing physics interactions with draggable objects Preventing memory issues with proper object lifecycle management Resetting physics scenes cleanly
Try It Out
The Physics Demo is now available in the ViroReact Expo Starter Kit. Clone the repo, run the project, and start experimenting with physics!
The Physics Demo joins our existing scenes (Auto Plane Detection, Manual Plane Selection, and No-Plane AR) to provide a comprehensive starting point for AR development with ViroReact.
Happy building! 🚀
Resources:
 
 
       
 
      
 
      
 
            
 
           
 
            
 
            
 
           