- Home /
Incorrect velocity after collision
I have a game i made on the google play store called Bit Blocks, it is a game similar to arkanoid and Atari breakout, with the ball and paddle, however sometimes if the ball hits the side walls with a low enough horizontal velocity the ball doesn't bounce off the walls and it just gets stuck to the wall. This is kinda annoying when it happens as when it is stuck to the wall there is no way to get it to bounce off the wall again, please if you know a solution to this problem answer this question, Thanks!
Answer by TanselAltinel · Feb 26, 2018 at 01:25 PM
Change your Velocity Threshold inside your Physics2D settings. (menu: Edit > Project Settings > Physics 2D)
https://docs.unity3d.com/Manual/class-Physics2DManager.html
Velocity Threshold Collisions with a relative velocity lower than this value is treated as inelastic collisions (that is, the colliding GameObjects do not bounce off each other).
Your answer
Follow this Question
Related Questions
Rigidbody2D.velocity out of controll 3 Answers
(Steam VR / Vive) Rigidbody moving in only one direction after collision 1 Answer
Speed after Vector3.Reflect Decreases,Speed of ball after Vector3.Reflect decreases 0 Answers
Unity2D game objects don't collide 1 Answer
Issue regarding Rigidbody2D 0 Answers