[CharacterDemo] Stepping Up Problems (different geometry)

pierreofthefrench
Posts: 9
Joined: Sat Jun 18, 2011 11:07 pm

[CharacterDemo] Stepping Up Problems (different geometry)

Post by pierreofthefrench »

I've been playing around with the character demo so I could switch from using my poorly created character controller to the more efficient one that bullet has in the CharacterDemo. The problem was, as soon as I imported my levels into the CharacterDemo to test out, stepping up basically stopped working. (I use triangle lists and create btTriangleMesh->btBvhTriangleMeshShape)

I played around with a ton of different StepHeights from very low to very high and none of them let the character get up a vertical step. (I'm using Bullet 2.78)

When it seemed like it should, the camera would start to oscillate which makes me think it wants to but is having troubles. I searched around and found a discussion on this a long time ago which seemed like was fixed in 2.7 with the controller thinking there was a ceiling which could potentially be the problem I guess. When I move quickly at the step and flail back and forth sometimes it will let me up but usually it doesn't work correctly.

The level draws correctly and everything else seems to work fine, I tested the same levels in the RagdollDemo a while back when I was working on those so I can't see it being the geometry. Any help would be greatly appreciated thanks.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: [CharacterDemo] Stepping Up Problems (different geometry

Post by Erwin Coumans »

The btKinematicCharacterController has always had issues since its creation, and although we received several patches, it still doesn't work.

You can see some issues in the issue tracker, including this one: http://code.google.com/p/bullet/issues/detail?id=198

At some stage, someone has to sit down and fix/rewrite it.
Thanks,
Erwin
pierreofthefrench
Posts: 9
Joined: Sat Jun 18, 2011 11:07 pm

Re: [CharacterDemo] Stepping Up Problems (different geometry

Post by pierreofthefrench »

Aww, bummer, was really hoping to use it. Thanks for the reply!