RopeMaster RunTime API
A while ago, @XAXA created a plugin called “RopeMaster”, where you could place custom ropes in studio. It’s a wonderful plugin, however I needed a way to create them in realtime, which is not supported with this plugin, so I used his math to create an API that can be used in game.
Create Rope
local Rope = require(script.RopeClass)
local newRope = Rope.new(attachment0, attachment1, lengthFactor, thickness, color, material, quality)
Change Rope Properties
newRope:DrawRope(lengthFactor, thickness, color, material, quality)
UPDATE 3/25
- The API Is Now A Class
- Supports Attachments Instead Of Positions
- Ropes Will Re-Draw Themselves When An Attachment Moves
- Ropes Will NOT Re-Draw If The Difference In Positions Is < 1 Stud
- Ropes Can Have Their Properties Changed In Real-Time With
:DrawRope()
Function - Ropes Can Be Destroyed With
:Destroy()
Function, Or By Destroying Attachments/Rope Model