Using arcs in Skript
Using arcs in Skript is surprisingly easy, and the applications are endless. Here's how you can create arcs using Skript. Arcing is a system between two points where a line deviates from a linear line, giving the perception of a slow, half-circular offset. It can be useful instead of using a linear point when you're trying to interpolate circle animations cleanly. A quick overview of how it works: The function accepts the starting pos and ending pos and gets the midpoint of these positions. A circle with a radius of the distance between the two locations divided by two is created. Then, we return the circle list to start from pos1 and end at pos2. Create a function to accept the starting position, ending position, and step size which returns locations function arc(loc1: location, loc2: location, stepSize: number) :: locations: Get the midpoint between the two locations so it can be used to create a circle. set {_loc} to ({_loc1} ~ ((vector from {_loc1} to {_loc2}) / 2)) Create a circle given the midpoint and the distance between the locations / 2. set {_size} to distance between {_loc1} and {_loc2} set {_circ::*} to circle({_loc}, ({_size} / 2), {_stepSize}) set {_circSize} to size of {_circ::*} Duplicate and loop the list, parsing it to only including starting and end values...