InteractiveComputerGraphics / PositionBasedDynamics

PositionBasedDynamics is a library for the physically-based simulation of rigid bodies, deformable solids and fluids.
MIT License
1.9k stars 358 forks source link

DeformableCollisionDemo:Object Overlapping #76

Closed CharlesQHappy closed 5 years ago

CharlesQHappy commented 5 years ago

in the DeformableCollisionDemo,if i replace "/models/torus.obj" with "/models/cube.obj", which will change the collider object model. Then it happened that the two object Overlapping each other.

janbender commented 5 years ago

Did you also change the line "cd.addCollisionTorus(..." accordingly?