Reducing Jitter and Penetration
Posted: Sat Oct 31, 2009 7:20 pm
Hey everybody!
I have set up a world made up of ConvexHulls representing convex BSP brushes. I have a Box entity (will later be changed to another ConvexHull) that needs to collide with these brushes.
My problem originally was that my world was far too large, 64 units representing a single meter. I have since changed it to make 1:1 units to meters, but I'm still looking for the ideal ratio's for allowedPenetration and collisionMargin. Is there some magic number to make it look like the box is resting on a surface, without it passing through or causing jitter? Thanks!
I have set up a world made up of ConvexHulls representing convex BSP brushes. I have a Box entity (will later be changed to another ConvexHull) that needs to collide with these brushes.
My problem originally was that my world was far too large, 64 units representing a single meter. I have since changed it to make 1:1 units to meters, but I'm still looking for the ideal ratio's for allowedPenetration and collisionMargin. Is there some magic number to make it look like the box is resting on a surface, without it passing through or causing jitter? Thanks!