07-05-2021, 10:27 AM
(This post was last modified: 07-05-2021, 10:27 AM by josemendez.)
Depending on how "solid" the sticking must be, you can rely on collision stickinness/friction:
http://obi.virtualmethodstudio.com/tutor...rials.html
Sticky materials this won't result in perfect sticking though, as if the spheres were attached/parented to the softbody particles. Over time they will slide off the softbody.
If you're after attaching, you can use collision callbacks (see:http://obi.virtualmethodstudio.com/tutorials/scriptingcollisions.html)
to detect which particles are colliding with your spheres, then use the particles API (see:http://obi.virtualmethodstudio.com/tutorials/scriptingparticles.html) to move the spheres to a fixed position relative to these particles.
http://obi.virtualmethodstudio.com/tutor...rials.html
Sticky materials this won't result in perfect sticking though, as if the spheres were attached/parented to the softbody particles. Over time they will slide off the softbody.
If you're after attaching, you can use collision callbacks (see:http://obi.virtualmethodstudio.com/tutorials/scriptingcollisions.html)
to detect which particles are colliding with your spheres, then use the particles API (see:http://obi.virtualmethodstudio.com/tutorials/scriptingparticles.html) to move the spheres to a fixed position relative to these particles.