RotationCurve
This class holds a sorted list of RotationCurveKeys that represent a sequence of rotations. The shape of the interpolation curve between two keys is determined by the RotationCurveKey.Interpolation type.
Summary
Properties
Number of rotation keys in this curve.
Methods
Returns a copy of a key at a given index.
Returns the index of the last and first key of a period of time.
Returns a copy of all the keys in the rotation curve as a Luau array of RotationCurveKeys.
Samples the rotation curve at a given time and returns the corresponding rotation as a CFrame.
Adds the key passed as an argument to this curve. If a key at the same time is found, it will be replaced.
Removes a given number of keys starting from a given index.
Resets this curve's keys using the RotationCurveKey array passed as an argument.