CANNON including problem?

@RaananW
What I do is in webpack.config.js:

new webpack.ProvidePlugin({
        CANNON: 'cannon'
    }),

and remove/comment
/*
externals: {
//oimo: ‘OIMO’, //or true
cannon: “CANNON” //or true
}
*/
now physics cannon physics works ok

1 Like