Skip to content

hannojg/react-native-box2d

Repository files navigation

react-native-box2d

⚠️🚧 This is WIP and not ready for production use. 🚧⚠️

I am still actively developing this library.

JSI port of the Box2D physics engine for React Native.

Use real world physics to build gestures, animations, games or anything else you can think of.


Installation

React Native

yarn add react-native-box2d
cd ios && pod install

Usage

TODO: Add usage example

Limitations

As the library uses JSI for synchronous native methods access, remote debugging (e.g. with Chrome) is no longer possible. Instead, you should use Flipper.

Thanks

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT