Multiple kinematic collision problem

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By decepticlown

So I have multiple kinematic bodies which collide with each other. more than 15. So I created a new node that extends Kinematic body 3d (e.g. newKineBody) and then hard coded all the physics code. After that I changed those 15 nodes to newKineBody.

Now, newKineBody has simple code that checks collision, if happened then changed velocity and apply some velocity response to collider. But now since both kineNewBody has same response which Node will detect collision first? Wil it affect collision performance?

Current problem: I already have it working but some times two bodies are being glued together and skipping collision response. Most of the time it works perfectly but some times it just behaves like they are magnet.

https://youtu.be/A8ZasHWIu0k video link
Carefull watch the green disc. watch in 60 fps for better details.
newBody.gd - Pastebin.com here is the code
white.gd - Pastebin.com code for the green body

Thank you!