@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
@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