Should I create a point on both rigid bodies that acts similar to a wheel and applies force to the rigid body equivalent to what is needed to keep the bodies connected? or is there some other way that this should be done?
Both segments will need to exert forces on each other.
I found a guy who wrote an algorithm here: http://gamedev.stack...-physics-system
It seems to be what I was looking for, but from the page it seems there may be some problems with it. And the author seems unsure of himself. So, is that the right approach to take?
(I'm using C and SDL2, if you want to know)
EDIT: Also note that my simulation should be simpler than the article I linked to, since I only have one hinge point where it looks like the article actually has 2.
Edited by prushik, 03 December 2012 - 12:17 AM.