I am working on a game that is using Havok physics engine, and it's character framework.
I have a problem, that on some surfaces, the character is changing states rapidly, form OnGround to InAir.
I use a CharacterRigidBogy, and a code that it very similar to the Havok demos, including the skipFramesInAir code.
I also added another state, walkOnTrail, where the character walks on a trail path - I pass a velocity vector to the havok engine, that will keep the character on the trail.
In the demos, the character walks on a much rougher terrain, but stays in OnGround state.
I added a Visual Debugger movie, where the character is walking on a rope, and the states change frequently.
Hope you could help me with an insight on what we are doing wrong.
Character changing states rapidly