taichi_houdini icon indicating copy to clipboard operation
taichi_houdini copied to clipboard

Moving collider

Open Eydcao opened this issue 2 years ago • 0 comments

Support collider with moving velocity. If we would like to support scenario like below

image

Ti-element end: Modify the kernel in the add_XXX_collider functions, the key is to apply the modification of each surface type to the relative velocity between the particles and the collider, then transfer to absolute particle velocity.

Houdini end:

  1. Modify the interface parameters: Add a toggle i.e. moving; add a vector of float, which should automatically disable when moving is not toggled.
  2. Add an entry of velocity for the dictionary of each surface type: if moving not toggled, v should be zero, else, read the value from Houdini. Refer to the read_analytical_collisions function in Libs/python/utils.py

Eydcao avatar Sep 24 '21 03:09 Eydcao