Hello !
I wanted to make that a cannon body would fall while in mid-air, by using gravity. I found the world.gravity.set method. That doesn't do anything, so here is the code, if you see something that I did wrong.
awake() {
let world = new CANNON.World();
world.gravity.set(0,-9.8,0);
}
PS : I already looked at the doc, but didn't found anything :'(
thanks to at least read my post:)