mirror of
https://github.com/ppy/osu
synced 2025-01-02 20:32:10 +00:00
Use RotationAbsolute instead
This commit is contained in:
parent
cd6bdcdb88
commit
d229993e5c
@ -197,7 +197,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
float targetScale = relativeCircleScale + (1 - relativeCircleScale) * Progress;
|
||||
Disc.Scale = new Vector2((float)Interpolation.Lerp(Disc.Scale.X, targetScale, Math.Clamp(Math.Abs(Time.Elapsed) / 100, 0, 1)));
|
||||
|
||||
symbol.Rotation = (float)Interpolation.Lerp(symbol.Rotation, Disc.Rotation / 2, Math.Clamp(Math.Abs(Time.Elapsed) / 40, 0, 1));
|
||||
symbol.Rotation = (float)Interpolation.Lerp(symbol.Rotation, Disc.RotationAbsolute / 2, Math.Clamp(Math.Abs(Time.Elapsed) / 40, 0, 1));
|
||||
}
|
||||
|
||||
protected override void UpdateInitialTransforms()
|
||||
|
Loading…
Reference in New Issue
Block a user