As shown by @RaananW in this comment: Load Ammo.js in React Native, the answer is to replace fs
and path
in the built ammo.js file with react-native-fs
and react-native-path
. Thanks again to everyone for their help!
1 Like