Obi Official Forum

Full Version: Picking SoftBody with Twiser in VR
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, Sonrisa

    I am working on a Surgery VR Project on Unity 2019.2.
I am using Obi softbody and i want to use particle picker on my twiser to drag the tissue but i am unable to achieve.
How can i put the particle picker on my twiser so i can pick the tissue.

Thank you
(15-03-2020, 12:49 PM)Sumit Wrote: [ -> ]Hi, Sonrisa

    I am working on a Surgery VR Project on Unity 2019.2.
I am using Obi softbody and i want to use particle picker on my twiser to drag the tissue but i am unable to achieve.
How can i put the particle picker on my twiser so i can pick the tissue.

Thank you

Hi,

The particle picker uses raycasting from the mouse cursor to pick particles up. If you need to use a different input (such as closing the tweezers, and detecting what particles are in between them), that's something you need to write yourself.

The particle API and collision callbacks might be of help here:
http://obi.virtualmethodstudio.com/tutor...icles.html
http://obi.virtualmethodstudio.com/tutor...sions.html