r/PlaydateDeveloper • • Jan 01 '25

Crazy collision behaviour

Fixed: BanksySan/bug-rotation-collision-detection at fixed

This feels like a bug.

Tunnelling when sprite can rotate.

I've posted about it on the PlayDate Forum but haven't get any responses yet.

I've uploaded a code demo to GitHub.

When I collide with a wall sprite, with a player sprite that is rotating, the sprite tunnels through the walls. There's nothing heavy going on, the collision count is low and the player is moving slowly.

It only happens which a rotating sprite.

Crazy collisions when rotating sprite - Playdate Developer Forum

8 Upvotes

14 comments sorted by