how can i re-validate my softbody after destroying links using cutLink or refine ? I get SIGSEGV errors when trying to continue in the simulation.
Its the line 2410 in btSoftbody.cpp (from bullet version included in blender 2.62) which makes trouble:
const int idx=int(c.m_nodes[j]-&m_nodes);
idx is used to index into an array afterwards, but it always has very large positive or even negative values.
Do i have to re-initialize/update something ? When using cutLinks i noticed the count of nodes increases. Do the nodes become invalid somehow ?
And how to fix this ?
I have 4 bullet functions (setPose, setLJoint, cutJoint and cutLink) exposed to blender game engine python in order to be able to destroy softbody objects. According to the softbody demo this
is possible with refine function. And it should be possible too with the cutLink function.
I want to extend my blender addon which deals with rigidbody destruction with softbody destruction in the blender game engine:http://blenderartists.org/forum/showthr ... ity-Editor
Hope somebody can help me.