Fix catch animation
This commit is contained in:
parent
3e51436c0e
commit
783e401c39
|
@ -122,12 +122,15 @@
|
|||
Me.RotationSpeedVector = New Vector3(Me.RotationSpeedVector.X * -1, Me.RotationSpeedVector.Y * -1, Me.RotationSpeedVector.Z * -1)
|
||||
If DoRotation.X = 1.0F Then
|
||||
ReadyAxis.X = 0.0F
|
||||
AmountRotated.X -= AmountRotated.X * 2
|
||||
End If
|
||||
If DoRotation.Y = 1.0F Then
|
||||
ReadyAxis.Y = 0.0F
|
||||
AmountRotated.Y -= AmountRotated.Y * 2
|
||||
End If
|
||||
If DoRotation.Z = 1.0F Then
|
||||
ReadyAxis.Z = 0.0F
|
||||
AmountRotated.Z -= AmountRotated.Z * 2
|
||||
End If
|
||||
Else
|
||||
Me.Ready = True
|
||||
|
|
|
@ -197,7 +197,7 @@ nextIndex:
|
|||
If Shakes(i) = False Then
|
||||
CatchAnimation.AnimationRotate(BallEntity, False, 0, 0, 0.15F, 0, 0, MathHelper.PiOver4, 12 + i * 10, 0, False, False, True, True)
|
||||
Else
|
||||
CatchAnimation.AnimationRotate(BallEntity, False, 0, 0, -0.15F, 0, 0, 0 - MathHelper.PiOver4, 12 + i * 10, 0, False, False, True, True)
|
||||
CatchAnimation.AnimationRotate(BallEntity, False, 0, 0, -0.15F, 0, 0, -MathHelper.PiOver4, 12 + i * 10, 0, False, False, True, True)
|
||||
End If
|
||||
Next
|
||||
|
||||
|
|
Loading…
Reference in New Issue