I wonder the twist / swing decomposition works for you with motor. For me it did not - too unstable. I assumed because rotation axis are not always orthogonal. If you run into problems that might be the reason.
Julio Jerez wrote:I claim that to make the biped to keep it balance we do no nee to do any ray cast and there is not need to get a support plane.
I will let you think about that for a moment.
You mean user contacts and support polygon?
Yes i did balancing on one foot without all this, but if you want it as fast as possible you need the support polygon to calculate max accel, and when moving fast robust contacts seem necessary. (I did not implement user contacts for my ragdoll yet, just on the IP model so i'm not sure, and maybe your inverse stuff is more sensitive than my forward so avoiding the problem at all, but keep it in mind in case of issues. Without user contact my IP swings between 5 and 20 times correctly and then tips over for no obvious reason. The problem does not show up if it just keeps straight in balance.)