Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grabbing physics reaction to softbody/ Grasping an organ for my project
#3
(19-07-2021, 10:52 AM)josemendez Wrote: Hi there!

How's grasping currently implemented in your project? I can't really tell what's wrong or if the approach you took is correct if you don't describe what you're currently doing.

Softbodies are just a collection of particles, related to each other via constraints. When you grab a softbody, using an attachment is the most robust way. This means a particle or a group of particles follows the position of a target transform (in this case, the grasper instrument).

However grasping a single particle will not "pinch" the softbody, since a single particle is well, just a point in space. It's impossible to deform a single point in space (this should be just common sense, all you can do with a single point is translate ), so you need to grab multiple particles at once -multiple points in space- and move them relative to each other, such that they deform in the way you need.

Note that the more particles you use to represent your object, the higher the fidelity of the simulation. Any grabbing/pinching will look more detailed.

kind regards,
Actually, for grasping I am using the default particle picker with the line renderer, I aligned the instrument with the particle picker so it seems that it's the instrument that is doing it, I was sceptical about this process, grasping thing itself. maybe you can help, please,
can you please tell me how to implement proper grasping then? if there's any better method please tell me, better if you can include code that can help me setting up this grasping thing, it's an issue for many.
Reply


Messages In This Thread
RE: Grabbing physics reaction to softbody/ Grasping an organ for my project - by sanchitgng - 19-07-2021, 03:50 PM