interpolateRotation

open fun interpolateRotation(@NotNull floats: @NotNull FloatSortedSet)

Inserts shared keyframes where display interpolation would lose the sampled rotation path. Samples intervening Minecraft ticks only for unsafe endpoint rotations or complete local Euler turns. Prefers splits that preserve the path and uses fewer frames when split costs are equal.


generator.interpolateRotation(frameTimes);

Since

1.15.2

Parameters

floats

the set of keyframe times to update