Page 1 of 1

how can i seam cloth piece use bullet

Posted: Tue May 26, 2015 2:28 am
by yoogera
hi, now i dev a cloth simulation system use bullet. i can create btsoftbody from triangle mesh, but this btsoftbody is just a cloth piece, is anyone know how to seam these pieces into a cloth.

now i do it by change bullet source code, i add a function to change the btsoftbody::btNode to its seam btsoftbody's btNode. this can do right but is there any other method to seam two btsoftbody node by node?

Re: how can i seam cloth piece use bullet

Posted: Tue May 26, 2015 4:09 am
by mobeen
For adding seams, you should insert additional distance constraints (with a high stiffness) at the adjacent edges of the two cloth pieces. This will ensure that the two cloth pieces stick together.

Re: how can i seam cloth piece use bullet

Posted: Wed May 27, 2015 7:28 am
by yoogera
mobeen wrote:For adding seams, you should insert additional distance constraints (with a high stiffness) at the adjacent edges of the two cloth pieces. This will ensure that the two cloth pieces stick together.
thk you, i have done it in that way, but i found it's collision process may wrong. because this extra links must insert into a softbody(b), and one node(nodeA) of link is in another softbody(a). so if softbody(b) is simulation after softbody(a), the nodeA may pass through the rigid body between softbody(a) and softbody(b).