Hi there,
im about to switch from arcade to matter physics because of the flexibility of object transformation / collition (not only circle or non-rotated rect) (see fiddle below).
I managed to get two categories to collide / non-collide with the player.
But i dont get it working to use categroies and let my player object bounce with world boundaries also…
As soon as my player ship gets a category, it stops bouncing with the world.
I belive it has something to do with this line:
this.setCollidesWith( [ cat2 ]);
i modified the example of the moving space ship:
So my modified code looks like this:
https://jsfiddle.net/ragesoft/u6m5L0yr/
Thx for the help.
Greetings!