I rotate my object with this.player.body.setAngularVelocity(value);
and my object rotating. But I want mine collision rotate too.
Initial state:
After turn
Why purple square not rotate? I’m using Arcade physics
I rotate my object with this.player.body.setAngularVelocity(value);
and my object rotating. But I want mine collision rotate too.
Initial state:
After turn
Why purple square not rotate? I’m using Arcade physics
Arcade physics does not support rotated body collisions. You’ll need to use a different physics implementation, or maybe switch to using circular bodies with arcade?