Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Unpin particle in run time
#4
(11-02-2020, 02:37 AM)Lokeyyyy Wrote: I have found that I passed 0 as the original invMass in handle.AddParticle(), what value should I pass instead? I found that there is invMass float[] in ObiRope, however it seems to be a empty array, same for invRotMass. How am I suppose to use them? thank you

Pass
Code:
solver.invMasses[actor.particleIndices[yourIndex]]

See:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply


Messages In This Thread
Unpin particle in run time - by Lokeyyyy - 10-02-2020, 10:18 AM
RE: Unpin particle in run time - by josemendez - 10-02-2020, 10:44 AM
RE: Unpin particle in run time - by Lokeyyyy - 11-02-2020, 02:37 AM
RE: Unpin particle in run time - by josemendez - 11-02-2020, 02:37 PM