This is a new React Native project, bootstrapped using @react-native-community/cli
.
Medium Link: https://medium.com/@ibjects/getting-started-with-babylonjs-in-a-react-native-mobile-app-ee1b82d67e03
There are three examples in this tutorial:
- Loading a basic 3D model in our react-native app This will set the base and will help you get the very basics of BabylonJS with React-Native.
- Play pause animations on button press Using a horse 3D model we'll play with animation where we can make the horse walk and jump.
- Changing shirt and hairstyles of a 3D Model Just like how in Sims game or main avatar creating apps we'll have a quick look on how to do it.
All the code is in one screen App.tsx
comment/uncomment to load different examples.