Collision filtering
You may also need to specify whether specific objects should collide or not with each other. To implement it you need to specify collision group and mask.
See physics / filtering demo.
That's how you can do it with sphere:
Example
const sphere = new WHS.Sphere({
// ...
physics: {
group: 1,
mask: 2
}
});
Updated over 5 years ago