a lot of constraint connected together -> explode
Posted: Tue Apr 18, 2017 2:54 am
I have created many bodies with equal mass + constraint like this :-
^ Image shows 401 chunk of body. 400 bodies are constraint-ed with a single body at the center.
All bodies has equal mass.
When I change the hook position e.g., every body will start shaking and will explode (spring-like + divergence).
How to workaround? I am using btCompoundShape instead (it is ok but far harder to use).
Does the shiny cutting-edge multi-body (https://github.com/bulletphysics/bullet3/releases) designed to solve it?
^ Image shows 401 chunk of body. 400 bodies are constraint-ed with a single body at the center.
All bodies has equal mass.
When I change the hook position e.g.
Code: Select all
bulletFixedConstraint->getFrameOffsetA().setOrigin(vec3(30, 0, 0));
How to workaround? I am using btCompoundShape instead (it is ok but far harder to use).
Does the shiny cutting-edge multi-body (https://github.com/bulletphysics/bullet3/releases) designed to solve it?