Search found 2 matches

by Ezlo
Mon Oct 19, 2020 2:15 pm
Forum: General Bullet Physics Support and Feedback
Topic: Problem with character controller and btHeightfieldTerrainShape
Replies: 2
Views: 177

Re: Problem with character controller and btHeightfieldTerrainShape

Thanks a lot for your reply! The character's restitution I had already set to zero, but increasing the character's gravity definitely helps minimizing the bouncing even though it's still there. With normal gravity the maximum distance from the ground is ~ 0.2 (for reference the character/capsule is ...
by Ezlo
Fri Oct 16, 2020 9:21 pm
Forum: General Bullet Physics Support and Feedback
Topic: Problem with character controller and btHeightfieldTerrainShape
Replies: 2
Views: 177

Problem with character controller and btHeightfieldTerrainShape

I'm writing my own character controller class inheriting from btActionInterface and using a capsule collision shape. When I move the player over a completely flat heightfield it starts to "bounce" slightly but very noticeably, especially as the camera is bound to the player position in my case. I as...