NVIDIA / warp

A Python framework for high performance GPU simulation and graphics

Home Page:https://nvidia.github.io/warp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

attach some cloth vertices to moving mesh

cyanzhao42 opened this issue · comments

Hi, would it be possible to attach some cloth vertices to some moving vertices of a mesh?

It would be similar to "fix_left" in add_cloth_grid, but for some vertices give a cloth mesh, and attach to a moving point.

Thanks.

Hi @cyanzhao42 , generally you can kinematically control any particles by setting their mass/invmass to zero and then moving them to the desired location before each simulation step (you can launch a kernel to update the fixed particles as desired).

Hope that helps.

Cheers,
Miles