10-05-2019, 10:19 AM
Hello,
I'd like to manipulate individual particles (of a rope in this case). According to the manual and several forum posts, the Oni.GetParticlePositions/SetParticlePositions/GetParticleVelocities/SetParticleVelocities functions take 4 parameters. In my version (4.1 I think?), they take only two: the solver and a positions IntPtr.
I can't find any reference to this however, and I'd like to know how to pass the positions with this new function signature.
I'd like to manipulate individual particles (of a rope in this case). According to the manual and several forum posts, the Oni.GetParticlePositions/SetParticlePositions/GetParticleVelocities/SetParticleVelocities functions take 4 parameters. In my version (4.1 I think?), they take only two: the solver and a positions IntPtr.
I can't find any reference to this however, and I'd like to know how to pass the positions with this new function signature.