I am new one for bullet softbody simulation, I get a cloth mesh with its local space vertexs and indices from other graphic engine, and then I used createFromTrimesh(...) to create a softbody successfully, and then I create a rigidbody in body for soft cloth to attached, some details as follow image. and then add into dynamic world to step simulate.
But the reslut is very strange like this :
Can anyone help me ,what is wrong with it?
for attached to rigid body , I set three anchor points from soft cloth skirt mesh with setMass 0,and then get rigid body transform matrix4x4(called wmat) at every frame .when get a new frame simulation cloth vertexs from bullet, I will transform these new simulated vertexs by wmat, and covered the cloth mesh vertexs ,and give it back to my grapic engine to draw .Bullet softbody cloth was stretched away
-
- Posts: 3
- Joined: Tue Jul 16, 2019 10:14 am
Bullet softbody cloth was stretched away
You do not have the required permissions to view the files attached to this post.
-
- Posts: 83
- Joined: Mon Nov 05, 2018 8:16 am
- Location: China
Re: Bullet softbody cloth was stretched away
very interesting! have you found the rootcause?