Apply force to specific particles - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html) +--- Thread: Apply force to specific particles (/thread-849.html) |
Apply force to specific particles - pouletfrit - 30-01-2019 Hi there! Is it possible to apply force to specific particles and not to the whole softbody? RE: Apply force to specific particles - josemendez - 30-01-2019 (30-01-2019, 01:43 PM)pouletfrit Wrote: Hi there! 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/tutorials/scriptingparticles.html RE: Apply force to specific particles - pouletfrit - 01-02-2019 (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: Ok thank you! I'll give it a try |