09-03-2018, 04:17 PM
(09-03-2018, 09:10 AM)josemendez Wrote: Hi,
You just need to find the particle that's nearest to the controller, set its inverse mass to 0 (to fix it in place so that dynamics are no longer applied to it) and set its position every frame as long as the user is grabbing it. You can use the Obi's API for this:
http://obi.virtualmethodstudio.com/tutor...icles.html
Once the user releases the particle, just set its inverse mass back to whatever it was.
Thank you it works !