Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

AircraftMadness/Catmull-Rom-Spline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catmull-Rom-Spline-Module

The module that makes it easy to create Catmull-Rom Splines on Roblox.

Usage

The Catmull-Rom Spline constructor takes in 2 arguments:

  1. points a table consisting of numbers, Vector2s, or Vector3s and/or BaseParts.
  2. tension [optional]: a number, usually in [0, 1] that visually changes the curve made. If left as nil, tension will default to 0.5.
CatmullRomSpline.new(points: {number} | {Vector2} | {Vector3 | BasePart}, tension: number?)

API

CatmullRomSplineObject:ChangeTension(tension: number)

About

The module that makes it easy to create Catmull-Rom Splines on Roblox.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages