Soft bodies: wind and ropes

Post Reply
Antodologo
Posts: 21
Joined: Sat Feb 06, 2010 3:40 am

Soft bodies: wind and ropes

Post by Antodologo »

I have found that I can't apply wind to a softbody rope (at least to my ropes). The problem I have is that node normals are calculated by Bullet using btSoftBody::updateNormals and that function seems to set normals to zero for softbodies without faces.

That is a problem, because btSoftBody::addAeroForceToFace uses node normal to apply a force and, as normals are zero, forces are never applied. Do I have to calculate my own normals? Is it a bug? Do I have to use a different function? Are ropes not supported for that wind functions?

Thanks in advance ;)
Post Reply