28-02-2024, 12:26 PM
(This post was last modified: 28-02-2024, 12:30 PM by josemendez.)
(28-02-2024, 12:22 PM)BusraSevim Wrote: Thanks, this worked. But while spinning, the spheres scatter around and do not come back. And where it stops, it slides around the cylinder. How can we keep it stable? [...] I read something like particle attachment somewhere, but I couldn't run its full implementation, like in rope physics.
So you want the softbodies to rotate together with the cylinder, and not slide over its surface right? sounds like you just want to attach the softbodies to the cylinder...
You use a ObiParticleAttachment for that. It works just like it does for ropes, only difference is you need to create particle groups in the softbody blueprint editor to determine which particles in the softbody you want to be attached. See: http://obi.virtualmethodstudio.com/manua...ments.html
Quote:Particle group: The particle group you want to keep attached to the target. For cloth and softbodies, you can define new particle groups in the blueprint editor. Ropes and rods automatically generate a new group for each control point in the blueprint's path.
(28-02-2024, 12:22 PM)BusraSevim Wrote: Is there such a thing as resetting the force on it? It's like resetting the velocity of normal physics.
Not sure why you would want to do this in this case, however you can access all per-particle data (including velocities) using the particles API.
kind regards,