Nadav-01 / Physics_Game

School project based on 2d physics. Written in Java. Pretty crappy, nothing to see here.
0 stars 0 forks source link

Corner collisions #19

Closed Nadav-01 closed 5 years ago

Nadav-01 commented 5 years ago

When objects collide with walls that are in the playable area and not the borders, the corners dont work properly.

Fix ASAP.

Nadav-01 commented 5 years ago

Corners work better, but sometimes projectiles get stuck in them. Example: image image

Nadav-01 commented 5 years ago

The problem comes from the collision with a roundwall. Fix it and this is also fixed.

Nadav-01 commented 5 years ago

Removed roundwall simulation. Added attempt to calculate the collisions with the points in the corner. Sometimes launches the ball to unexpected sides.

Nadav-01 commented 5 years ago

seems to be working.