10-07-2019, 12:04 PM
(10-07-2019, 07:10 AM)josemendez Wrote: Hi there!
Currently there's no easy way to connect particles from different soft bodies manually, working on it for upcoming updates. Adding external forces to particles is quite easy though. Either set their velocity directly:
(remember that f = ma, and a = dv/dt)Code:softbody.Solver.velocities[softbody.particleIndices[index]] = <your velocity>
Or, use forces directly:
Code:softbody.Solver.externalForces[softbody.particleIndices[index]] = <your force>
thanks @josemendez
some kind of joint with the ability to restrict certain axis would be wonderful.
imagine a robot arm made from softbodies joined with hinges. for example the elbow would only bend in the x axes, the wrist can only rotate in the z axis and so on.
this would also open up obi to vehicles and all sorts