Extends models by resizing and cloning parts based on size and rotation.
The module is available on the releases page and the Roblox Creator Store. The plugin is also on the releases page and the Creator Store.
Running the function is very simple—just provide the required arguments.
extending: Model | BasePart, -- The model or part you want to extend
direction: Enum.NormalId, -- The direction you want to extend in
scale: number, -- How much you want to extend by (positive numbers only)
rotEpsilon: number?, -- The rotation epsilon (default 1e-5, must be between 0 and 1)
sizeEpsilon: number? -- The size epsilon (default 1e-5, positive numbers only)- Any
PVInstancebeside aBasePartin the model/part you'll be extending will be duplicated and moved along the primary part. To avoid this, move its contents to aFolder(or basically anything that isn't aPVInstance). - If
BaseParts are being duplicated but you don't want that to happen, then increasing the epsilons may fix this. - To extend to a certain length, set your scale to the new length divided by the original length. The demo plugin has an example of this.