Skip to content

Commit

Permalink
Fix Size of various sized arctap
Browse files Browse the repository at this point in the history
  • Loading branch information
yojohanshinwataikei committed Apr 1, 2024
1 parent d440603 commit 0ba7d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Gameplay/Chart/ArcChart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ public void UpdatePosition()
Vector3 baseLocalPosition = new Vector3();
if (IsConvertedVariousSizedArctap)
{
baseLocalPosition = new Vector3(ArcAlgorithm.ArcXToWorld((Arc.XStart + Arc.XEnd) / 2f), ArcAlgorithm.ArcYToWorld(Arc.YStart), 0);
baseLocalPosition = new Vector3(ArcAlgorithm.ArcXToWorld((Arc.XStart + Arc.XEnd) / 2f), ArcAlgorithm.ArcYToWorld(Arc.YStart) - 0.5f, 0);
}
else
{
Expand Down Expand Up @@ -1048,7 +1048,7 @@ public float LocalScale
set
{
Model.localScale = new Vector3(value, Model.localScale.y, Model.localScale.z);
Shadow.localScale = new Vector3(value / 3.25f, 1f, 1f);
Shadow.localScale = new Vector3(value / 4.25f, 1f, 1f);
}
}
public override bool Selected
Expand Down

0 comments on commit 0ba7d95

Please sign in to comment.