Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rope "drag" and PullDataFromSolver
#2
Hi!

I managed to work around it, so no need to read the long post above! The only thing I still don't get is why

rope.PullDataFromSolver(ParticleData.VELOCITIES | ParticleData.INV_MASSES);

Gives the same mass for every particle, even though I set the inverse mass to 0 of the end particle of the rope above

Oni.SetParticleInverseMasses (rope.Solver.OniSolver, masses, 1, rope.particleIndices[rope.UsedParticles - 1]);

If you can explain that, it's great, but my game works as intended anyway now, since I worked around it.
Reply


Messages In This Thread
Rope "drag" and PullDataFromSolver - by Agrerim - 17-05-2018, 10:35 PM
RE: Rope "drag" and PullDataFromSolver - by Agrerim - 28-05-2018, 09:39 AM