williamljb / DifferentiableCloth

73 stars 16 forks source link

Possibilty of controling cloth by external force? #13

Open sihengz02 opened 2 years ago

sihengz02 commented 2 years ago

Hi Junbang, I have a question regarding the Motion Control demo. I notice that you express control forces as additional velocity very step. I'm wondering is there any other ways to express force in this simulator like directly using force to control. I briefly look through the bind.cpp API, and I find no such function that can enable me to do so.

williamljb commented 2 years ago

You can try to mainipulate the function called add_external_forces in arcsim/src/physics.cpp. I don't have this API for now.