Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Hold or fix individual particles with another 3D object [Unity 2018]
#1
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!
Reply
#2
(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,
Reply
#3
(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
Reply
#4
(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!
Reply