Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Max Rest Length
#4
(03-11-2020, 09:28 PM)VagabondOfHell Wrote: Actually it looks like rope.ropeBlueprint.restLength returns the value I would expect. When using the formula above the result would change based on how many times the cursor was called beforehand (in my current case that wouldn't have mattered, but figured I'd test it anyways).

Is there any foreseeable issue with me using rope.ropeBlueprint.restLength as a max length value? If so I could adjust the formula above to account for in-use particles.

Thank you for the help!

My bad: rope.ropeBlueprint.restLength does return the full length of the rope when all pooled particles are used, and is the easier solution. Sorry about the confusion!

I originally meant rope.restLength , which returns the rest length of the rope in its current state. Adding rope.ropeBlueprint.interParticleDistance * rope.ropeBlueprint.pooledParticles to it should also yield the full length.
Reply


Messages In This Thread
Max Rest Length - by VagabondOfHell - 01-11-2020, 10:12 PM
RE: Max Rest Length - by josemendez - 03-11-2020, 09:42 AM
RE: Max Rest Length - by VagabondOfHell - 03-11-2020, 09:28 PM
RE: Max Rest Length - by josemendez - 04-11-2020, 11:13 AM