Obi Official Forum

Full Version: Hold or fix individual particles with another 3D object [Unity 2018]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
[Unity 2018]
I have a in game 3D object picker which I use to pick objects when grasped.
I use fixed joint to fix the object picked to the picker.
Can I do this with the individual cloth, softbody and rope objects? 
I want to attach the collided particles to my 3D object and move with it.

I am new to Obi and sorry if this question is already answered. 
If so could any one please direct me to that answer?

Thank you for your help!
(08-11-2019, 08:46 PM)deathrayash Wrote: [ -> ]Hi,
[Unity 2018]
I have a in game 3D object picker which I use to pick objects when grasped.
I use fixed joint to fix the object picked to the picker.
Can I do this with the individual cloth, softbody and rope objects? 
I want to attach the collided particles to my 3D object and move with it.

I am new to Obi and sorry if this question is already answered. 
If so could any one please direct me to that answer?

Thank you for your help!

Hi,

Yes, you can use contact callbacks to determine which particles collide with an object:
http://obi.virtualmethodstudio.com/tutor...sions.html

Then, you can set these particles' inverse mass to zero (making them unaffected by dynamics) and set their positions according to an object's transform:
http://obi.virtualmethodstudio.com/tutor...icles.html

kind regards,
(09-11-2019, 08:19 AM)josemendez Wrote: [ -> ]Hi,

Yes, you can use contact callbacks to determine which particles collide with an object:
http://obi.virtualmethodstudio.com/tutor...sions.html

Then, you can set these particles' inverse mass to zero (making them unaffected by dynamics) and set their positions according to an object's transform:
http://obi.virtualmethodstudio.com/tutor...icles.html

kind regards,

Thank you josemendez,
I will try these
(09-11-2019, 08:19 AM)josemendez Wrote: [ -> ]Hi,

Yes, you can use contact callbacks to determine which particles collide with an object:
http://obi.virtualmethodstudio.com/tutor...sions.html

Then, you can set these particles' inverse mass to zero (making them unaffected by dynamics) and set their positions according to an object's transform:
http://obi.virtualmethodstudio.com/tutor...icles.html

kind regards,

Hi josemendez,
Could you also let me know.
How do I attach 2 softbodies or 2 ropes or 2 clothes?
Thank you!