• Content count

  • Joined

  • Last visited

  1. DavidJAldred

    Dynamic Points for Ropes

    Can anyone confirm that once a rope has been created it has a fixed amount of points, which cannot be altered? I know the positions of the points can be modified but does the array of points itself have a fixed length after it has been created? If so, what would be the best way around this? Destroying the rope and creating a new one every time the number of points change? Or is there a way to only draw the rope between certain points in it's points array? I'm looking for a solution where I can initialise a rope, with a non specific amount of points and then when updating their positions, new points may be added or some removed. My attempts to do this inside the updateAnimation() function have so far been unsuccesful.