I’m currently trying to improve the performance of physics in Codea. I’ve improved the collide() callback performance but I’ve noticed that the main issue when there are many collisions is moving contact callbacks. These are contacts where state == MOVING. I’ve found aren’t very useful except for visualising the position of current contacts.
I’ve made it so cached contacts will continue to update over their lifetime so you can put contacts you want to observe in a table and then refer to them later until they are destroyed. This eliminates the need for moving contact callbacks and will result in better performance.
My question is, does anyone use these callbacks and would it be a problem if they were removed?