- Home /
Collision suddenly abort
Greetings, I am working now on humanoid model controlled by neural network. I am using ML-Agents Toolkit. My model already can walk but there is some issue with foot colliders.
Collider partially immersed in the floor. Immersion takes one step of physics, then the foot is thrown out.
At first I thought that this effect was caused by too much force or speed, but the reason was different. Collision suddenly abort. OnCollisionExit accrue.
On attached video you can observe this process. The white line is the force of colliders interaction. You can see that the force is absent when collider immersed. It is because collision ended.
I don't see any reason to complete the collision. Somebody know?
How are you controlling the other player movement?
Answer by KudryashovV · Aug 26, 2019 at 05:57 AM
I managed to prevent Collision abort. I increased "contactOffset" to 0.04. Default value is 0.01.
Answer by jjrage · Aug 25, 2019 at 08:44 PM
Check "Collision Detection" property of Rigidbody and try to set it to "Continuous" or "Continuous Dynamic"
Your answer
![](https://koobas.hobune.stream/wayback/20220612211102im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to move objects away from each other (not what you think) 1 Answer
Collision Detection Issue – Player in the corners 1 Answer
collisions will sometimes be detected and sometimes will not 1 Answer
Unity2D: How to make my player not walk through walls? 1 Answer
Best way to implement an advanced collision system? 1 Answer