2D collision box penetration problem Figure: Make a 2D billiard game I set both rigid bodies to continuous detection, and the result was that the collision box penetration would still occur when the object stopped moving, which was my 2D physical property setting
Move the code where you calculate movement to FixedUpdate then Try to decrease the time between collision detection. v Project Settings > Time > Fixed Timestep
Thank you But the frame rate of the game is set in front and back synchronously and cannot be changed easily, It's best if there's another way