pombreda / bullet

Automatically exported from code.google.com/p/bullet
Other
0 stars 0 forks source link

picking in cloth simulation Aero2 demo doesn't work as expected #646

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) Take the recent Bullet trunk version
2) run App_SoftDemo and switch to demo 13 (air friction)
3) pick a vertex and try to drag it up -> cloth will move down,
drag the vertex down -> cloth will move up

If you comment out the lines in Init_Aero2 in Demos\SoftDemo\SoftDemo.cpp, 
picking works fine (without aero effect)

//psb->m_cfg.kLF = 0.004;
//psb->m_cfg.kDG =  0.0003;
//psb->m_cfg.aeromodel  =btSoftBody::eAeroModel::V_TwoSidedLiftDrag;

Original issue reported on code.google.com by erwin.coumans on 10 Aug 2012 at 6:47

GoogleCodeExporter commented 9 years ago
Code to check if the velocity change resulted by aero drag force exceeds the 
current velocity of the node was added in addAeroForceToFace and 
addAeroForceToNode functions in btSoftBody.cpp. A patch file is attached. 

Original comment by saggitas...@gmail.com on 22 Aug 2012 at 8:26

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2557.

Original comment by erwin.coumans on 9 Sep 2012 at 5:22