Improving collision detection/response for rag dolls
Posted: Sun Jan 08, 2017 5:11 pm
Hi,
I have skeletal mesh animation and the transition to bullet-controlled rag doll animation working and now want to improve the collision detection/response between the rag doll's rigid bodies and the static world mesh.
For simple test purposes, I have a chain of 3 rigid body capsules, with 2 ball-joint constraints connecting them.
My world mesh consists of a btBvhTriangleMeshShape and it is very common for applied impulses to push and trap the ragdoll's capsules on the "underside" of the mesh landscape.
Are there any general configuration pointers that will allow me to improve this collision interaction?
I've searched the forum and came up with the following similar query:
[Solved] RagDolls penetrating static TriangleMeshShapes
This suggests increasing the maximum number of sub-steps for each simulation step to improve matters. I'm currently using maxSubSteps=10, with the default fixedTimeStep = 1/60th
As increasing the number of sub-step iterations has a performance implication, I also want to explore any other config changes that may improve matters.
So any advice will be much appreciated.
Thanks.
I have skeletal mesh animation and the transition to bullet-controlled rag doll animation working and now want to improve the collision detection/response between the rag doll's rigid bodies and the static world mesh.
For simple test purposes, I have a chain of 3 rigid body capsules, with 2 ball-joint constraints connecting them.
My world mesh consists of a btBvhTriangleMeshShape and it is very common for applied impulses to push and trap the ragdoll's capsules on the "underside" of the mesh landscape.
Are there any general configuration pointers that will allow me to improve this collision interaction?
I've searched the forum and came up with the following similar query:
[Solved] RagDolls penetrating static TriangleMeshShapes
This suggests increasing the maximum number of sub-steps for each simulation step to improve matters. I'm currently using maxSubSteps=10, with the default fixedTimeStep = 1/60th
As increasing the number of sub-step iterations has a performance implication, I also want to explore any other config changes that may improve matters.
So any advice will be much appreciated.
Thanks.