How do I make a Part follow a set of nodes?

I’ve been trying to figure out how I make a part follow a set of nodes. This is used by @badcc In the Jailbreak trains. Anyone know how to do this? A big explanation will help as I am still relatively new to Roblox Studio scripting!

Thanks

You can just use a for loop to go through each node and interpolate from PreviousCFrame to NextCFrame for each using either the TweenService or something like PreviousCFrame:Lerp(NextCFrame, amount) where amount is changed each frame to be between 0% and 100%

The easiest way would most likely be with the TweenService.

2 Likes

Could you help me do that In Studio?
If so send me a friend request on roblox!