Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apply force to specific particles
#1
Hi there!

Is it possible to apply force to specific particles and not to the whole softbody?
Reply
#2
(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
Reply
#3
(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
Reply