- Home /
2d rigidbody stops on collision if velocity smaller than 1
I have a 2D ball moving towards a wall, at perpendicular velocity 1. when it hits the wall, instead of bouncing back, it stops moving, with its velocity reduced to 0. If the velocity is greater than 1, like 1.001, the bug does not occur, and the ball bounces back from the wall w/o losing kinetic energy (velocity is reversed). picture 1 is the ball starting to move towards the wall. picture 2 is the ball after it has hit the wall. see the velocity is 0.
Answer by kobyfr · Oct 23, 2020 at 01:25 PM
oh... I should set velocity threshold to 0 in the Physics 2D settings... (this gets it set to 0.0001 actually).
Your answer
Follow this Question
Related Questions
How do You Display Energy Etc Screen Indicators? 2 Answers
How to get my players weapon to not work when its energy bar runs out 2 Answers
OnTriggerEnter2D only calling once 1 Answer
[2D] How do most people make levels with proper collision AND textures? 1 Answer
How to use contact data from simultaneous collisions? 3 Answers