I am growing a recreation the place the sport character is a catheter and the surroundings is a hole human organ/blood vessel. The target is to manoeuvre the catheter inside this hole house. I need to mannequin the behaviour of the catheter precisely and I assume the organ to be strong. What I need is, when the catheter hits the wall, it ought to bend and transfer, as an alternative of going via the wall.
To attain this goal, I applied the PBD framework described right here.
It could simulate many of the motions I need besides the one indicated within the determine under:
The issue is, when the catheter is bent and near a floor and I attempt to rotate it (indicated by the pink round arrow in the correct determine), rotation occurs fairly slowly. It’s because it takes too many steps for the solver to converge and consequently, we lose the real-time efficiency of the simulation.
Now the query is, is that this a limitation of the mannequin (as an example solely the place of the particle and orientation of the rod section is modeled, not the orientation of particular person particles) OR do I have to fine-tune my mannequin additional?