OnSeperate Issue

Jan 26, 2009 at 10:27 AM
I am developing a side scroller where the user can jump through the level. The way I track if the user is onground or not is by the 'OnSeperate' function (where onground = false), and then for the OnCollide function onground is true if the contact list has contacts on the bottom of the player (so is touching the ground).

The problem is when the player is on the ground, and beside an object that is rotated (within it's bounding box). It apparently keeps on going to the function 'onseperate' (making onground = false) repeatably, even without movement of the user.

I also am having to deal with the user trying to walk up rotated surfaces. To make the user walk i just apply a force to it's left/right side, but then he can't walk up anything that is even slightly rotated. Any help on that issue would be appriecated also,
Jan 28, 2009 at 1:33 PM
maybe this helps: http://www.codeplex.com/FarseerPhysics/Thread/View.aspx?ThreadId=44960