Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Velocity of particle
#1
I need get velocity of particle to make the music louder or quieter depending on whether the fluid is flowing or not
ObiEmitter.emitterblueprint.velocities dont work.
Reply
#2
(04-03-2020, 04:23 PM)palad333 Wrote: I need get velocity of particle to make the music louder or quieter depending on whether the fluid is flowing or not
ObiEmitter.emitterblueprint.velocities dont work.

Hi,

Blueprints are just assets, used to store data in disk. Their values are used to instantiate fluid, not updated during simulation.

Use solver.velocities instead, as explained in the manual:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply