No collisions when loading a softbody from an stl file #3914
Unanswered
lunaticstraydog
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've been trying to load a soft body from an stl file for a while now, and while it seems to load fine, it never collides with other bodies, be it soft or rigid ones.
I'm loading the stl file as follows:
stl loading code
psb->m_cfg.collisions += btSoftBody::fCollision::VF_SS;
, basing myself on the bunny mesh example, but that did not make a difference either (and I do not know what that option really does)Here is the full loading function
Full function
I'm attaching the entire project with compiling instructions in the readme.
STL_loading.zip
Beta Was this translation helpful? Give feedback.
All reactions