Fix some weird rotations.

This commit is contained in:
Daniel Perelman 2023-10-14 01:05:50 -07:00
parent 9a7c1d5ea8
commit 69c211c858
2 changed files with 4 additions and 2 deletions

View File

@ -766,8 +766,9 @@ function moveAsLowLevelMoves({ move, nextMove, startingPos, numProgessions }: {
return handleCirclePairedMove(move.parameters.who, ({ startPos }) => {
const handTo = startPos.which.isOnLeftLookingAcross() ? HandTo.DancerRight : HandTo.DancerLeft;
const startingPos = {
const startingPos: SemanticPosition = {
...startPos,
facing: startPos.which.facingAcross(),
dancerDistance: DancerDistance.Compact,
hands: new Map<Hand, HandConnection>([
[Hand.Left, { hand: Hand.Left, to: handTo }],
@ -1463,7 +1464,7 @@ function moveAsLowLevelMoves({ move, nextMove, startingPos, numProgessions }: {
{
beats: backwardBeats,
endPosition: startPosition,
movementPattern: { kind: SemanticAnimationKind.Linear },
movementPattern: { kind: SemanticAnimationKind.Linear, minRotation: 0 },
},
], startPosition);
} else {

View File

@ -587,6 +587,7 @@ function animateLowLevelMoveWithoutSlide(move: LowLevelMove): animation.Animatio
])
}),
flags: {
rotation: true,
hands: true,
handsDuring: circleHands,
},