mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 13:37:40 +02:00
Long hair rhythm tweezers but very buggy (read desc)
Hair plucking is a bit weird a beat after a long pull. The tweezers don't automatically skip to the beat they're supposed to be when pulling since it can put things out of sync. You can't pull two long hairs at a time for some reason. The long hair doesn't rotate correctly towards the tweezers. I'm very tired if someone could go in and clean some of this up that would be great.
This commit is contained in:
@ -58,6 +58,7 @@ namespace RhythmHeavenMania.Games.RhythmTweezers
|
||||
Jukebox.PlayOneShotGame("rhythmTweezers/shortAppear", beat);
|
||||
Hair hair = Instantiate(hairBase, HairsHolder.transform).GetComponent<Hair>();
|
||||
hair.gameObject.SetActive(true);
|
||||
hair.GetComponent<Animator>().Play("SmallAppear", 0, 0);
|
||||
|
||||
float rot = -58f + 116 * Mathp.Normalize(beat, intervalStartBeat, intervalStartBeat + beatInterval - 1f);
|
||||
hair.transform.eulerAngles = new Vector3(0, 0, rot);
|
||||
@ -77,6 +78,7 @@ namespace RhythmHeavenMania.Games.RhythmTweezers
|
||||
Jukebox.PlayOneShotGame("rhythmTweezers/longAppear", beat);
|
||||
LongHair hair = Instantiate(longHairBase, HairsHolder.transform).GetComponent<LongHair>();
|
||||
hair.gameObject.SetActive(true);
|
||||
hair.GetComponent<Animator>().Play("LongAppear", 0, 0);
|
||||
|
||||
float rot = -58f + 116 * Mathp.Normalize(beat, intervalStartBeat, intervalStartBeat + beatInterval - 1f);
|
||||
hair.transform.eulerAngles = new Vector3(0, 0, rot);
|
||||
|
Reference in New Issue
Block a user