Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Getting/Setting Particle Positions on Runtime
#2
Hi there,

The manual explains how to get/set any particle property, including position:
http://obi.virtualmethodstudio.com/tutor...icles.html

The post you linked is quite outdated, and refers to Obi 2 or 3. You can now directly read/write from/to the solver data arrays (solver.positions, solver.velocities, solver.invMasses, etc), there's no GetParticleX() functions.

cheers,
Reply


Messages In This Thread
RE: Getting/Setting Particle Positions on Runtime - by josemendez - 23-09-2020, 07:37 AM