![]() |
Help Hold or fix individual particles with another 3D object [Unity 2018] - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html) +--- Thread: Help Hold or fix individual particles with another 3D object [Unity 2018] (/thread-1466.html) |
Hold or fix individual particles with another 3D object [Unity 2018] - deathrayash - 08-11-2019 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! RE: Hold or fix individual particles with another 3D object [Unity 2018] - josemendez - 09-11-2019 (08-11-2019, 08:46 PM)deathrayash Wrote: Hi, Hi, Yes, you can use contact callbacks to determine which particles collide with an object: http://obi.virtualmethodstudio.com/tutorials/scriptingcollisions.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/tutorials/scriptingparticles.html kind regards, RE: Hold or fix individual particles with another 3D object [Unity 2018] - deathrayash - 12-11-2019 (09-11-2019, 08:19 AM)josemendez Wrote: Hi, Thank you josemendez, I will try these RE: Hold or fix individual particles with another 3D object [Unity 2018] - deathrayash - 12-11-2019 (09-11-2019, 08:19 AM)josemendez Wrote: Hi, Hi josemendez, Could you also let me know. How do I attach 2 softbodies or 2 ropes or 2 clothes? Thank you! |