Obi Official Forum

Full Version: Apply force to specific particles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there!

Is it possible to apply force to specific particles and not to the whole softbody?
(30-01-2019, 01:43 PM)pouletfrit Wrote: [ -> ]Hi there!

Is it possible to apply force to specific particles and not to the whole softbody?

Sure. Just change their velocity directly by writing to the velocities array, or write to the externalForce array instead if you don't want to calculate the force yourself. See:
http://obi.virtualmethodstudio.com/tutor...icles.html
(30-01-2019, 08:36 PM)josemendez Wrote: [ -> ]Sure. Just change their velocity directly by writing to the velocities array, or write to the externalForce array instead if you don't want to calculate the force yourself. See:
http://obi.virtualmethodstudio.com/tutor...icles.html

Ok thank you! I'll give it a try