(12-06-2019, 07:13 AM)josemendez Wrote: In Obi 4.x, ObiSolver contains multiple per-particle data arrays: positions, velocities, invMasses, etc. The one you're interested in is "positions". Each position is a Vector4, with the w component set to 0.
The InitializeTransformFrame method you posted above has nothing to do with particles or particle data. As the name implies, it initializes the solver's inertial transform frame.
How can I get position? Or what is the best way to achieve what I want to do?
I am thinking of AddParticle of ObiParticleHandle.cs