|
Hi, Could you please provide an example on how to make collision with our own obj model ? from the file "ClothCollisionDemo.cpp" I tried to replace the torus obj file with the "armadillo" obj file but the cloth still collide with the torus object shape even tough it is not loaded. Thank you. |
Answered by
janbender
Nov 24, 2022
Replies: 2 comments 2 replies
|
The problem is that in line 266 a torus collisison object is created: Instead of cd.addCollisionTorus() you should use cd.addCubicSDFCollisionObject() Hope that helps. |
1 reply
|
Try with this code... |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try with this code...
DistanceFieldDemos.zip