Hi
If this isn't the right place for these sorts of topics, please let me know, because I'm not sure where else I can post them.
I am working on a physics simulation, and its going pretty well. I've had this one particular problem for a long time, and I've brainstormed different solutions to the problem, but none of them seem very elegant or efficient.
The problem is my initial conditions for a collision. The collision response code picks up right when a collision is detected, but the collision detection code (and therefor the response code) only runs so often, because if it runs more often, it will bog down the system. Sometimes, an object will be found inside another object, which CAN cause some wierd issues.
The setup for this scenario is two blocks sitting next to eachother. The block on the right is spinning with considerable momentum. Here is a picture that shows the entire problem.
Any ideas?
Thanks.